If your website has new posts uploading daily and you wanna put it into your telegram channel without hassle, this is the right place.
- Get you
sitemap.xmlready or any.xmlsitemap for your website and put it inside theURLvariable in the code. - Get the access token. This can be obtained by messaging
@BotFatheron Telegram and then add the Access keys to theTOKENvariable in the Code. - Get your chat ID. If it is a public channel, the chat ID will be
@yourchannelname. Add this to the CHAT_ID variable. [ Search online for chat id's of private channels ]
- Then run
pip install -r requirementsin the Telebot directory - You are good to go. Either double click the file or just run
python extract.py
Sitemap extraction reference : "https://gist.github.com/HQJaTu/cd66cf659b8ee633685b43c5e7e92f05.js"