rss-to-telegram
This is a bot to repost given RSS feed to a Telegram channel.
To run it you gotta create your own bot via BotFather and obtain the token. Then do:
- Clone this repo
- Copy
config.example.py
toconfig.py
- Put all the data there: your token, chat id and feed link. @getidsbot) can help you with getting channel id.
- Install MediaInfo library from https://mediaarea.net/en/MediaInfo
- sudo pip3 install -r requirements.txt
Then run the bot, for example via cron as for it to regularly retrieve new feed items.
Channel id for private channel:
"channel-id": "-100[NUMBER]"
The [NUMBER] is id of your channel, some bot can get channel id WITH -100, use it diretory. See: python-telegram-bot/python-telegram-bot#538 (comment)