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:
Peter Vandenabeele 2020-01-25 16:52:30 +01:00
parent 8b8df31961
commit f3374a5047
1 changed files with 1 additions and 1 deletions

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)