Skip to content

Jidnyesh/Telebot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Telebot

By JYDNX

If your website has new posts uploading daily and you wanna put it into your telegram channel without hassle, this is the right place.

  1. Get you sitemap.xml ready or any .xml sitemap for your website and put it inside the URL variable in the code.

  2. Get the access token. This can be obtained by messaging @BotFather on Telegram and then add the Access keys to the TOKEN variable in the Code.

  3. 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 ]

  4. Then run pip install -r requirements in the Telebot directory

  5. 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"

About

Reading latest post from your website and posting it to your telegram channel in 5 seconds.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages