Created
May 10, 2020 08:59
-
-
Save metaperl/0483d0dc9f6c56edbd0ccd2262c9e3c8 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