A bot to post messages to Telegram Groups or Channels from rss feed.
- Edit the rss.py as your needs.
- Edit values in rss.py or set it in Environment Variables. If you are using Environment Variables, Add a
ENV
var to anything to enable Environment Variables Mode.
APP_ID
- Get it from my.telegram.orgAPI_HASH
- Get it from my.telegram.orgBOT_TOKEN
- Get it by creating a Telegram bot on BotFatherFEED_URL
- URL of RSS FeedLOG_CHANNEL
- ID of the Telegram Channel where messages are to be posted.DATABASE_URL
- Here is a full guide. For Heroku, just add theHeroku Postgres
add-on.INTERVAL
- Checking Interval in seconds. (optional)MAX_INSTANCES
- Max instances to be used while checking rss feed. (optional)
- Install requirements from requirements.txt
pip3 install requirements.txt
- Deploy
python3 rss.py
- Copyright (©) 2021 by Adnan Ahmad
- Licensed under the terms of the GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007