Skip to content
Browse files
Update tutorial.rst
Add missing "scrapy." prefix.
  • Loading branch information
Robert Weindl committed Sep 2, 2015
1 parent 7d6538c commit fbc1f25f6590eba52c42eb822952f7885b0b3ba0
Showing with 1 addition and 1 deletion.
  1. +1 −1 docs/intro/tutorial.rst
@@ -498,7 +498,7 @@ for it::
next_page = response.css("ul.navigation > > a::attr('href')")
if next_page:
url = response.urljoin(next_page[0].extract())
yield Request(url, self.parse_articles_follow_next_page)
yield scrapy.Request(url, self.parse_articles_follow_next_page)

This creates a sort of loop, following all the links to the next page until it
doesn't find one -- handy for crawling blogs, forums and other sites with

0 comments on commit fbc1f25

Please sign in to comment.