fixing example CSS expr

This commit is contained in:
Elias Dorneles 2015-04-21 11:19:10 -03:00
parent ff007afb9d
commit f7da69d116
1 changed files with 1 additions and 1 deletions

View File

@ -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)