franciscod / telegram-twitter-forwarder-bot

A Telegram bot that forwards Tweets
GNU Lesser General Public License v3.0
316 stars 117 forks source link

its possible to change Twitter API (tweepy) to nitter? #78

Open Ericktz opened 7 months ago

Ericktz commented 7 months ago

I have seen that ntscraper (https://github.com/bocchilorenzo/ntscraper/blob/main/ntscraper/nitter.py) is able to collect the tweets of certain accounts... is it possible to make some modification to the bot, so that instead of using the twitter API, it uses this library to fetch the tweets...?

could someone guide me ?

franciscod commented 7 months ago

It's been a while since I wrote this but have a look here: https://github.com/franciscod/telegram-twitter-forwarder-bot/blob/master/job.py

The idea is to remove all Tweepy stuff and replace it wiht the module that you suggest.

Feel free to ask more specific questions about this. A PR that makes this project more alive would be appreciated :)