mirror of
https://github.com/bellingcat/snscrape.git
synced 2026-06-12 04:18:29 +03:00
Fix crash in recursive tweet scraping
Introduced by 3e297c9a
Fixes #684
This commit is contained in:
@@ -1813,7 +1813,7 @@ class TwitterTweetScraper(_TwitterAPIScraper):
|
||||
queue.append(self._tweetId)
|
||||
while queue:
|
||||
tweetId = queue.popleft()
|
||||
thisPagParams = copy.deepcopy(paginationVariables)
|
||||
thisPagParams = copy.deepcopy(paginationParams)
|
||||
thisPagParams['variables']['focalTweetId'] = str(tweetId)
|
||||
thisParams = copy.deepcopy(thisPagParams)
|
||||
del thisPagParams['variables']['cursor'], thisPagParams['variables']['referrer']
|
||||
|
||||
Reference in New Issue
Block a user