Skip to content
Browse files

Merge pull request #1475 from rweindl/patch-1

Update tutorial.rst
  • Loading branch information
kmike committed Sep 2, 2015
2 parents 7d6538c + fbc1f25 commit 2d688cd94d8be79da265f330c64c6994952d32c2
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 2d688cd

Please sign in to comment.
You can’t perform that action at this time.