May not work with new telegram bot API or application changes
A simple Telegram bot (Python) that downloads and processes .m3u8 video streams (VOD/live) and sends the final video back to the user.
- Accepts m3u8 URLs via Telegram
- Supports VOD and LIVE stream downloads
- Supports live stream recording (basic)
- Queue-based request handling
- Automatic video concatenation and sending
pip3 install -r requirements.txtEdit the following files:
Set your Telegram user ID:
adminId = "YOUR_TELEGRAM_USER_ID"Set your bot token:
teletoken = "YOUR_BOT_TOKEN"You can get a bot token from: @BotFather on Telegram
python3 tele_bot.pyOnce running, open Telegram and chat with your bot:
- Send a valid
.m3u8URL - Bot will queue and process it
- Downloaded video will be sent back automatically
/start→ Start interaction/clear→ Cancel current request/queue→ Check queue position/log→ (admin only) view logs