Simple Telegram Bot Downloader Video using yt.dlp as backend for downloading.
You need to create a .env file for bot configuration
On BOT_TOKEN thats ur bot token
On ALLOWED_USER_IDS theres ur ids
BOT_TOKEN=[YourTokenHere]
ADMIN_USER_ID="[YourIDS]"Create a .youtube-cookie.txt on root folder
There you need copy your cookies session from youtube.
You can use Cookie.txt for that.
we recommend follow this Instrucctions to update cookies and This guide too for youtube perma cookies
docker compose pull
docker compose build --no-cache
docker compose up -ddocker compose stopdocker compose down --rmi all --volumes --remove-orphans
docker system prune -a --volumes -fRight now this only support 3 of 4 commands
/start- This will only send two messages if you register on the whitelist or not
- If you are register
- Just send an URL to download
- If you aren't register
- You are not autorized to use this bot, ask admin to allow you [ID_USER]
- If you are register
- This will only send two messages if you register on the whitelist or not
/addUser [IDUser]- Right now this is only an admin command, this allows add people to the service
[URL_Video]- Send a the url video to the bot directly, this will process the video
- Chech Supported Sites yt-dlp for supported urls.
/extractaudio [URL][work in progress, maybe]- Extract the audio from a video, this will ask you the format and the quality.
Database will register all videos downloaded, and how many videos the users download on all-time.
Videos will be register but only the URL and a SHA-256 for EXACT VIDEO. Thinking on
Sutitute SHA for PDQ or DinoHash
- Allow user selects their default quality and codec
- Youtube downloads with Node.js and youtube accounts
- Allow user selects which metadata from videos delete
Support the stars thing of telegram?- Keep it all this into the docker, not interested on run this on a non container space