YouTube Download Bot🚀🎬⬇️
This Telegram bot allows you to download videos from YouTube and other supported websites.
-
Singapore🇸🇬:https://t.me/benny_ytdlbot
-
Join Telegram Channel https://t.me/ytdlbot0 for updates.
Just send a link directly to the bot.
-
YouTube 😅
-
Any websites supported by yt-dlp
- Instagram (Videos, Photos, Reels, IGTV & carousel)
- Pixeldrain
- KrakenFiles
- fast download and upload.
- No ads
- download & upload progress bar
- download quality selection
- upload format: file, video, audio
- cache mechanism - download once for the same video.
- Supports multiple download engines (yt-dlp, aria2, requests).
Due to limitations on servers and bandwidth, there are some restrictions on this free service.
- Each user is limited to 1 free downloads every day.
This bot can be deployed on any platform that supports Python.
Project use PDM to manage dependencies.
-
Install PDM
You can install using pip: `pip install --user pdm` or for more ways: [Official Docs](https://pdm-project.org/en/latest/#installation)
-
Install modules using PDM:
pdm install
, or the old way usepip install -r requirements.txt
-
Setting up config file
cp .env.example .env
Fill the fields in
.env
. For more information, see the comments in the.env.example
file.- Required Fields
WORKERS
: Number of workers (default is 100)APP_ID
: Telegram app IDAPP_HASH
: Telegram app hashBOT_TOKEN
: Your telegram bot tokenOWNER
: Owner ID (separate by,
)AUTHORIZED_USER
: List of authorized users ids, (separate by,
)DB_DSN
: Your database URL (mysql+pymysql://user:pass@mysql/dbname) or SQLite (sqlite:///db.sqlite)REDIS_HOST
: Redis host
- Optional Fields
ENABLE_FFMPEG
: Enable FFMPEG for video processing (True/False)AUDIO_FORMAT
: Desired audio format (e.g.:- mp3, wav)ENABLE_ARIA2
: Enable Aria2 for downloads (True/False)RCLONE_PATH
: Path to Rclone executableENABLE_VIP
: Enable VIP features (True/False)PROVIDER_TOKEN
: Payment provider token from StripeFREE_DOWNLOAD
: Free downloads allowed per userRATE_LIMIT
: Rate limit for requestsTMPFILE_PATH
: Path for temporary/download files (ensure the directory exists and is writable)TG_NORMAL_MAX_SIZE
: Maximum size for Telegram uploads in MBCAPTION_URL_LENGTH_LIMIT
: Maximum URL length in captionsPOTOKEN
: Your PO Token. PO-Token-GuideBROWSERS
: Browser to handle 'cookies from browser', i.e. firefox
-
Activate virtual environment that created by PDM:
source .venv/bin/activate
-
Finally run the bot:
python src/main.py
One line command to run the bot
docker run --env-file .env bennythink/ytdlbot
start - Let's start
about - What's this bot?
help - Help
spdl - Use to download specific link downloader links
ytdl - Download video in group
aria2 - Download file using aria2
settings - Set your preference
unsub - Unsubscribe from YouTube Channel
ping - Ping the Bot
stats - Server and bot stats
Tap to expand
https://www.youtube.com/watch?v=V3RtA-1b_2E
https://www.youtube.com/playlist?list=PL1Hdq7xjQCJxQnGc05gS4wzHWccvEJy0w
https://twitter.com/nitori_sayaka/status/1526199729864200192 https://twitter.com/BennyThinks/status/1475836588542341124
- single image: https://www.instagram.com/p/CXpxSyOrWCA/
- single video: https://www.instagram.com/p/Cah_7gnDVUW/
- reels: https://www.instagram.com/p/C0ozGsjtY0W/
- image carousel: https://www.instagram.com/p/C0ozPQ5o536/
- video and image carousel: https://www.instagram.com/p/C0ozhsVo-m8/
Found this bot useful? You can donate to support the development of this bot.
You can choose to donate via Stripe.
USD(Card, Apple Pay and Google Pay) | CNY(Card, Apple Pay, Google Pay and Alipay) |
---|---|
USD | CNY |
TRX or USDT(TRC20)
TF9peZjC2FYjU4xNMPg3uP4caYLJxtXeJS
Apache License 2.0