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
arl
cookie 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_TOKEN
andTELEGRAM_TOKEN
as variable environment - python3.X -m pip install -r requirements.txt
- python3.X main.py
(You should use a venv
)