From f7da69d116e28752cddb65ff5aef05faeb13d4b8 Mon Sep 17 00:00:00 2001 From: Elias Dorneles Date: Tue, 21 Apr 2015 11:19:10 -0300 Subject: [PATCH] fixing example CSS expr --- docs/intro/tutorial.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)