Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class EmailScraper(scrapy.Spider):
- name = "emails"
- #allowed_domains = []
- def start_requests(self):
- self.inf = DataInterface()
- df = self.inf.searchData()
- row = df.loc[1]
- print(row)
- req = scrapy.Request(url=row['Website'], callback=self.parse,
- cb_kwargs={'index': 1, 'depth': 0,
- 'firstName': row['Executive First Name'],
- 'lastName': row['Executive Last Name'],
- 'found': {}, 'title': row['Executive Title']})
- yield req
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement