2017-07-23 10:05:42 +02:00
|
|
|
# telegram-bot-youtube-downloader
|
|
|
|
|
|
|
|
Change TOKEN with your token
|
|
|
|
|
2017-07-23 10:28:08 +02:00
|
|
|
Usage:
|
|
|
|
- Send link of video (@vid inline is comfortable)
|
|
|
|
- The bot will download the video and send it
|
|
|
|
|
2017-07-23 10:05:42 +02:00
|
|
|
This script require:
|
|
|
|
- Python3 interpreter
|
|
|
|
- Telegram python api https://github.com/python-telegram-bot/python-telegram-bot
|
|
|
|
- youtube-dl https://github.com/rg3/youtube-dl/
|
2017-07-23 10:28:08 +02:00
|
|
|
|
|
|
|
Tips:
|
|
|
|
- Use PythonAnyWhere for hosting the bot https://www.pythonanywhere.com
|
2017-07-23 10:53:50 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## TODO
|
2017-07-23 10:56:24 +02:00
|
|
|
- split videos larger than 50MB in videos smaller than 50MB (bots can not upload file larger than 50MB)
|