We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7d6538c + fbc1f25 commit 2d688cdCopy full SHA for 2d688cd
docs/intro/tutorial.rst
@@ -498,7 +498,7 @@ for it::
498
next_page = response.css("ul.navigation > li.next-page > a::attr('href')")
499
if next_page:
500
url = response.urljoin(next_page[0].extract())
501
- yield Request(url, self.parse_articles_follow_next_page)
+ yield scrapy.Request(url, self.parse_articles_follow_next_page)
502
503
This creates a sort of loop, following all the links to the next page until it
504
doesn't find one -- handy for crawling blogs, forums and other sites with
0 commit comments