Fix crash in VK scraper

This commit is contained in:
JustAnotherArchivist
2020-09-10 21:05:03 +00:00
parent a25426043b
commit 07d446fd19

View File

@@ -100,6 +100,7 @@ class VKontakteUserScraper(snscrape.base.Scraper):
yield from self._soup_to_items(soup)
headers = self._headers.copy()
headers['X-Requested-With'] = 'XMLHttpRequest'
for offset in itertools.count(start = 10, step = 10):
logger.info('Retrieving next page')