Skip to content

Scrapy, a fast high-level web crawling & scraping framework for Python.

fixing example CSS expr

Elias Dornelesf7da69d116e2
diff --git a/docs/intro/tutorial.rst b/docs/intro/tutorial.rst
index 13d7491aa..a08eb59d6 100644
--- a/docs/intro/tutorial.rst
+++ b/docs/intro/tutorial.rst
@@ -495,7 +495,7 @@ for it::
... extract article data here
}
- next_page = response.css("ul.navigation -> li.next-page > a::attr('href')")
+ next_page = response.css("ul.navigation > li.next-page > a::attr('href')")
if next_page:
url = response.urljoin(next_page[0].extract())
yield Request(url, self.parse_articles_follow_next_page)