bocchilorenzo / ntscraper

Scrape from Twitter using Nitter instances
MIT License
180 stars 29 forks source link

Threads #68

Open LiamVDB1 opened 7 months ago

LiamVDB1 commented 7 months ago

The Threads function is broken, I think this is because of how nitter is handling them. I have only been using it recently, so I don't know about the past. But now it looks like the threads are just shown as individual messages, not quite a big deal for my use case though. But thought I'd let you know. Thank you for making this tool, its great.

LiamVDB1 commented 7 months ago

I think I have found a fix for this issue. I might write the code for this later, but this is the steps I'd follow: if tweet Text contains 🧵 or thread -> self._get_page(endpoint=tweet, max_retries) in this page easily read contents of "after-tweet thread-line" This should be edited at line 797, in the method _search. Getting the endpoint should be as easy as getting the href from the tweet-link class. This might seriously slow down the program though, as it needs to check for each tweet on the timeline.

LiamVDB1 commented 7 months ago

Oops didn't mean to close it 😂