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