HeyHo this is a Telegram Bot for downloading YouTube videos as MP3 Files. It's running at YOTBot
You have to install all packages mentioned in the requirements.txt. Also you need ffmpeg
pip install -r requirements.txt
You have to specify the token you got from BotFather and the name the bot should interact as. You can specify them by setting environment variable or by passing them via cli
export TG_BOT_TOKEN="969855739:AAEqhAK5peBt42I7Z4FqsOFxGQO818ja768"
export TG_BOT_NAME="my_wonderfull_download_bot"
Also there is support for .env files.
python YOTBot.py --botname my_wonderfull_download_bot --token "969855739:AAEqhAK5peBt42I7Z4FqsOFxGQO818ja768"
To customize the messages the bot writes, you need to modify responses.json.
There is support to build a Container image
docker build -f Containerfile -t yotbot . && docker run yotbot
# or
docker-compose up --build
GPL 3