Created
May 10, 2020 08:59
-
-
Save metaperl/949b70cec7af4dfa0f210052234c43c7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for i, datum in enumerate(provider.xpath('td')): | |
Behold().show('i', 'datum') | |
if i == 1: # name | |
url = datum.css("a::attr(href)").get() | |
scrapy.Request(url=url, callback=self.parse_name, meta={'data_row': data_row }) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment