A Program to extract betting information from a Telegram channel.
The goal of this project is to automate the extraction of necessary information from a specific channel. The channel ID is "@stake10peruanos".
The message consists of two images, and only the first image has a caption text. So exactly, it is two messages. therefore, for example, if the message ID include first image is 9131, the message ID include second image is 9132. Because program can only search caption text, we get first message ID. we can know the message ID include second image, and download the image using this ID.
Windows 10 64 bit
Python 3.12.5
In https://my.telegram.org/apps, should enter needed information. Once App is created, copy App api_id and App api_hash.
Enter environment variable like api_id, api_hash, channel_username and special_text.
python -m venv venv
venv\Scripts\activate
pip install -r requirements.txt
python stake.py
When program first runs , session file is created. At that time, you need to enter phone number in the teminal of VScode.