From 7f78fa0bc087e1f364a157b6d1f5e21e72d9944c Mon Sep 17 00:00:00 2001 From: JustAnotherArchivist Date: Mon, 7 Feb 2022 18:13:56 +0000 Subject: [PATCH] Recurse through all tweets encountered, not only ones with a positive replyCount Fixes #266 --- snscrape/modules/twitter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snscrape/modules/twitter.py b/snscrape/modules/twitter.py index b5d0017..9d1612f 100644 --- a/snscrape/modules/twitter.py +++ b/snscrape/modules/twitter.py @@ -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