the-convocation / twitter-scraper

A port of n0madic/twitter-scraper to Node.js.
https://the-convocation.github.io/twitter-scraper/
MIT License
207 stars 42 forks source link

fix: parse tweetwithvisibilityresults type #83

Closed juandariogarciagimeno closed 6 months ago

juandariogarciagimeno commented 7 months ago

Tweets that have limited replies (such as 1779717986082849241)are not being parsed correctly, the object returned is of __typename 'TweetWithVisibilityResults' and contains a tweet property with the actual tweet.

Once set the result to the tweet of the wrapped object, parsing seems to be performing good