Skip to content

Commit 2d688cd

Browse files
committed
Merge pull request #1475 from rweindl/patch-1
Update tutorial.rst
2 parents 7d6538c + fbc1f25 commit 2d688cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/intro/tutorial.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,7 @@ for it::
498498
next_page = response.css("ul.navigation > li.next-page > a::attr('href')")
499499
if next_page:
500500
url = response.urljoin(next_page[0].extract())
501-
yield Request(url, self.parse_articles_follow_next_page)
501+
yield scrapy.Request(url, self.parse_articles_follow_next_page)
502502

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

0 commit comments

Comments
 (0)