Skip to content

Instantly share code, notes, and snippets.

@BetterProgramming
Created May 14, 2019 12:45
Show Gist options
  • Select an option

  • Save BetterProgramming/4d108b1d70051dbaf61ddf9e668c0f94 to your computer and use it in GitHub Desktop.

Select an option

Save BetterProgramming/4d108b1d70051dbaf61ddf9e668c0f94 to your computer and use it in GitHub Desktop.
item_links = response.css('.large > .detailsLink::attr(href)').extract()
for a in item_links:
yield scrapy.Request(a, callback=self.parse_detail_page)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment