ytdGoBot
YouTube downloader bot for Telegram written in the Go programming language.
For now it only downloads audio content from a provided YouTube link. Due to Telegram Bot API limitations, the bot can not send files larger than 50mb.
Requirements:
The bot uses YouTube-dlp to install content from a provided link:
sudo wget https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -O /usr/bin/yt-dlp
sudo chmod a+rx /usr/bin/yt-dlp
To Do:
- Make video downloading an option:
- Opportunity to choose the quality -> use buttons.
Connect to a database.- Make a download limit per user.
- Bypass the 50mb downloading limit.
UPD:
- Moved from youtube-dl to youtube-dlp.
- Noticeably faster.
- Used Regexp to check links for validity.
- Added database support (sqlite3).
- Logs only valid links provided from the user.