Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/narbehaj/telegram-audio-download

Download forwarded audio files to your bot from Telegram and store them in their related directory.
https://github.com/narbehaj/telegram-audio-download

audio bot download mp3 telegram telepot

Last synced: about 2 months ago
JSON representation

Download forwarded audio files to your bot from Telegram and store them in their related directory.

Awesome Lists containing this project

README

        

# **Telegram Audio Download**

This script uses Telepot python framework to connect to Telegram's API in order to control your bot. After creating your bot via @BotFather, paste your bot's token in the script then run it. You can simply forward as many as audio files (Max 100 files by Telegram) to your bot and it'll download the forwarded files. It will simply skip the files which have been downloaded already.

### Requirements

You only need `telepot` and `requests` for this.

`pip3 install telepot`

`pip3 install requests`

### Usage

`python3 tg_audio.py`

### TODO

- Enable Video/Document option

### Screenshots