Skip to content

Turkish Gymnastics Federation course announcements tracking application

License

Notifications You must be signed in to change notification settings

ogulkokan/Web-Monitor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Web-Monitor

Turkish Gymnastics Federation course announcements tracking application

A simple website monitoring script. If the followed course comes to the list, a message is sent automatically with the registration link to the previously created telegram group.

How to run monitoring app?

  • First of all, download the repo and extract it to a location you want. For mac users open new terminal and for the windows users open new Command Prompt. Then open directory of the downloaded folder. Example:
cd /Users/user/Desktop/Web-Monitor
  • Next, run the web_monitor.py
python web_monitor.py

Then app will start automatically and will check the course page in every 2 minutes. If desired course exist within the page, an automatic message will be sent to the telegram group.

How to export monitoring app as .exe for windows?

If you are using windows instead of using the command line you may want to convert the application into .exe format and start using it with an only a double click. Again download the repo and extract it to a location you want and open directory folder with "cd /Users/user/Desktop/Web-Monitor" like in the previous example. As a next step just run the following command:

pyinstaller --onefile -w "web_monitor.py"

After that, a new file will be created under the name "dist" in the same file. In it you can find a ready-to-run program called web_monitor.exe. Just double click to run the application.

How to setup telegram bot and the group for automated messages?

  • first go the the telegram app and search for "@botfather":

  • Write "/newbot" to create new bot and choose a new name and also an user name for the new bot.

  • After that store access token for the bot to able to send automated messages.

  • Also invite the bot to the desired telegram group.

About

Turkish Gymnastics Federation course announcements tracking application

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages