mirror of
https://github.com/bellingcat/snscrape.git
synced 2026-06-13 04:48:28 +03:00
Recurse through all tweets encountered, not only ones with a positive replyCount
Fixes #266
This commit is contained in:
@@ -975,7 +975,7 @@ class TwitterTweetScraper(_TwitterAPIScraper):
|
|||||||
if tweet.id not in seenTweets:
|
if tweet.id not in seenTweets:
|
||||||
yield tweet
|
yield tweet
|
||||||
seenTweets.add(tweet.id)
|
seenTweets.add(tweet.id)
|
||||||
if tweet.replyCount:
|
if tweet.id != self._tweetId: # Already queued at the beginning
|
||||||
queue.append(tweet.id)
|
queue.append(tweet.id)
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
|||||||
Reference in New Issue
Block a user