alessio9567 / telegram-betting-bot

Personal bot project elaborating soccer data from a continuosly updated website and alerting a Telegram Channel through notifications
3 stars 3 forks source link
python raspberry-pi telegram-bot

TelegramBettingBot

This is my personal project and consists of a series of Python scripts running on a Raspberry Pi Zero W and written in a pretty functional way ( a lot of functions and modules). These scripts are scheduled every day and launched by some Shell scripts.

The process initially gets new data from this website using Beautifoul soup for scraping:

image

Then, data are managed in runtime through Pandas Dataframes and saved on a local Mysql database ; there are some checks that only new data are inserted into the tables while altready existing data are skipped ( incremental ETL by hashing web page )

Finally, there is a script that outputs upcoming matches satisfying certain criteria in a custom Telegram channel Here is a message example image

Telegram channel link: https://t.me/joinchat/amTegTHB6cU0NWRk Source data : www.betexplorer.com