TelegramYTDLBot
Telegram YouTube Downloader Bot
Install / Use
/learn @DevHanza/TelegramYTDLBotREADME
<p align="center">YouTube Downloader Bot</p>
<p align="center">A Telegram Bot to Download YouTube Videos upto 4K under 2GB.</p> <p align="center"><i>(Only for Educational Purposes)</i></p>Features
- ✅ Fast Downloads
- ✅ Choose video quality before download.
- ✅ Downloading Queue for users.
- ✅ Max video upload size : 2GB
- ✅ Save server side resources.
- ✅ No Developer side limits.
How to Deploy
1. Setup Environment Variables
- Get your BOT_API_KEY from here.
- Create .env file
- Paste this code into your file and replace with your own values.
BOT_API_KEY = "9999999999:AAHePL8-xSzjOlnF5dRGiwhNyxxZsS3u7f4" # Replace with your own token
- Save it!
2. Install Dependencies
git clone https://github.com/hansanaD/TelegramYTDLBot.git;
cd TelegramYTDLBot;
pip install -r requirements.txt;
3. Run api server locally (optional)
You can choose not to use this service.
But then you won't be able to upload files up to 2000 MB and get these features.
- Generate your instructions from here. (This step might take upto 20 mins.)
- Go to:
-
cd telegram-bot-api/bin - Get API ID & HASH from here. (Watch this Tutorial to get help.)
- Start the server. (Remember to replace the values with your own values):
-
./telegram-bot-api --api-id=XXXXX --api-hash=XXXXXXXXXXXX --http-port=8081 --local
Read the instructions on eternnoir/pyTelegramBotAPI and tdlib/telegram-bot-api for more information.
4. Run your bot
- open a new "screen" or tab on your terminal.
- run:
python bot.py
both script & api server should run at the same time order to work.
Disclaimer
This repository is intended for educational and personal use only. The use of this repository for any commercial or illegal purposes is strictly prohibited. The repository owner does not endorse or encourage the downloading or sharing of copyrighted material without permission. The repository owner is not responsible for any misuse of the software or any legal consequences that may arise from such misuse
- APIs : y2mate-api , pytelegramBotAPI
- Contact for issues : @dev00111
Sorry for my bad english and my messy documentation. 😶
Related Skills
node-connect
339.5kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
claude-opus-4-5-migration
83.9kMigrate prompts and code from Claude Sonnet 4.0, Sonnet 4.5, or Opus 4.1 to Opus 4.5
frontend-design
83.9kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
model-usage
339.5kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
