Skip to content

parse content from a website and send it as a message via telegram to a channel/group periodically

License

Notifications You must be signed in to change notification settings

giovaciedu/website-parse-to-telegram

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

website-parse-to-telegram

parse content (or a specific section) from a website and send it as a message via telegram to a channel/group periodically

it works against the cloudflare protection

quick guide for setting up a telegram bot: https://medium.com/codex/telegram-http-api-with-python-sending-messages-programatically-28be2e04bbcd

made for python3

Installation

Just clone the script onto your machine

Usage

edit scheduletime to change the period between the execution

url : website url

parse.find_all() to choose which element to parse

bot_token bot_chatID: setup the telegram bot

if you want to parse a specific section, use parse.find_all()

https://docs.python.org/3/library/xml.etree.elementtree.html

About

parse content from a website and send it as a message via telegram to a channel/group periodically

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages