Closed khorg0sh closed 1 year ago
trying to fetch content of the tweet collected using TweetScraper.
The Twitter scrapers return not only Tweet objects but also Tombstone and TweetRef, which only have a couple fields. Use isinstance to distinguish them or hasattr to check whether a field is present.
Tweet
Tombstone
TweetRef
isinstance
hasattr
trying to fetch content of the tweet collected using TweetScraper.