mirror of
https://github.com/scrapy/scrapy.git
synced 2025-02-19 13:18:30 +00:00
Merge pull request #4286 from petervandenabeele/fix-documentation
[Docs] Fix variable name `author_page_links`
This commit is contained in:
commit
a6bf895474
@ -652,7 +652,7 @@ this time for scraping author information::
|
||||
|
||||
def parse(self, response):
|
||||
author_page_links = response.css('.author + a')
|
||||
yield from response.follow_all(author_links, self.parse_author)
|
||||
yield from response.follow_all(author_page_links, self.parse_author)
|
||||
|
||||
pagination_links = response.css('li.next a')
|
||||
yield from response.follow_all(pagination_links, self.parse)
|
||||
|
Loading…
x
Reference in New Issue
Block a user