Recurse through all tweets encountered, not only ones with a positive replyCount

Fixes #266
This commit is contained in:
JustAnotherArchivist
2022-02-07 18:13:56 +00:00
parent 8702a9c7e2
commit 7f78fa0bc0

View File

@@ -975,7 +975,7 @@ class TwitterTweetScraper(_TwitterAPIScraper):
if tweet.id not in seenTweets:
yield tweet
seenTweets.add(tweet.id)
if tweet.replyCount:
if tweet.id != self._tweetId: # Already queued at the beginning
queue.append(tweet.id)
@classmethod