A Python script that scrapes URLs, sends notifications to Telegram, and exposes a simple Flask web server.
- Edit
main.py - Go to line 9 and replace the value of
chat_idwith your own Telegram Chat ID:chat_id = 'YOUR_TELEGRAM_CHAT_ID' # <-- Change this!
- Open https://t.me/pksyahwhbot in Telegram.
- Click Start to activate the bot.
-
Build the Docker image:
docker build -t gpayladoo . -
Run the container:
docker run -p 5000:5000 gpayladoo
-
Install dependencies:
pip install -r requirements.txt
-
Run the script:
python main.py
- The Flask app will be available at http://localhost:5000.
- Make sure to use your own Telegram Chat ID for notifications.