A Python bot to download music from :
- Deezer with Deezer API and Deezloader
- YouTube
Please don't use this for illegal stuff.
It's against Deezer's terms of service.
- Get an
arlcookie on Deezer forDEEZER_TOKEN - Create a bot on Telegram and grab a token with Bot Father (
TELEGRAM_TOKEN)
token.env
DEEZER_TOKEN=abcdefghijklmnoxxxxxxxxxxxx
TELEGRAM_TOKEN=123456789:ABCDEFGHIJKLMNOPQRSTUVWXYZ
docker run -it -d --restart=always --env-file token.env --name telegram_music_bot telegram_music_bot
(Feel free to use a docker-compose)
- Add
DEEZER_TOKENandTELEGRAM_TOKENas variable environment - python3.X -m pip install -r requirements.txt
- python3.X main.py
(You should use a venv)