/tg-music-downloader

Download audio files which you are send to him! Also you can manage your MPD server.

Primary LanguagePythonMIT LicenseMIT

Telegram downloader bot

This bot wil download audio files which you are sending to him. Working with youtube, soundcloud and direct files.

Awesome-Design-Tools

Requirements

  • python 2.7
  • ffmpeg

Running

  1. Install dependencies:
make build
  1. Run:
make run "<token>" "<admin_username>" "<destination_path>"

or using docker:

  1. Build container:
docker build -t tg-bot:latest .
  1. Run container:
docker run --rm -v $(pwd)/files:/tg-music-downloader/files -e BOT_TOKEN='<tg_bot_token>' -e BOT_ADMIN='<tg_username>' -e BOT_DESTINATION='./files' tg-bot

License

This is open-sourced software licensed under the MIT license.

Contributing

Before sending a Pull Request, be sure to review the Contributing Guidelines first.