Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 2 months ago
JSON representation
Download forwarded audio files to your bot from Telegram and store them in their related directory.
- Host: GitHub
- URL: https://github.com/narbehaj/telegram-audio-download
- Owner: narbehaj
- Created: 2018-01-20T13:44:37.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-11-11T20:52:13.000Z (about 6 years ago)
- Last Synced: 2024-08-05T09:14:22.148Z (6 months ago)
- Topics: audio, bot, download, mp3, telegram, telepot
- Language: Python
- Size: 402 KB
- Stars: 19
- Watchers: 3
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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