Skip to content

Instantly share code, notes, and snippets.

@BetterProgramming
Created May 14, 2019 12:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BetterProgramming/4d108b1d70051dbaf61ddf9e668c0f94 to your computer and use it in GitHub Desktop.
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