1
0
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:
Mikhail Korobov 2020-01-27 20:57:22 +05:00 committed by GitHub
commit a6bf895474
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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