mirror of https://github.com/scrapy/scrapy.git
Fix variable name `author_page_links`
I did not test this code, but the change from `href` to this author_page_links seems to have a typo ?
This commit is contained in:
parent
8b8df31961
commit
f3374a5047
|
|
@ -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…
Reference in New Issue