Telegram bot for audio downloading. Built on FFmpeg and youtube-dl. Works with most sites, can download YouTube playlists, uses pyrogram to overcome Telegram Bot API file size limits.
- ffmpeg
- Python 3.7
$ git clone https://github.com/faredus/ytdl-bot
$ pip install -r requirements.txt
- Put your Bot token, API id, API hash into
.env
- Bot token: create a bot using @BotFather and copy the token
- API ID & HASH: create an app at https://my.telegram.org/apps and copy them
- Make sure you have ffmpeg installed.
- Arch:
pacman -S ffmpeg
- Ubuntu:
apt intall ffmpeg
- Arch:
- Run
$ python3 app.py