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-08-06 15:24:35 +02:00
|
|
|
- If the video is larger than 50MB, it is split into smaller parts,
|
|
|
|
- which then need to be concatenated (in linux: cat vid.mp4* > vid.mp4)
|
2017-07-23 10:28:08 +02:00
|
|
|
|
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-08-06 15:24:35 +02:00
|
|
|
- Improve soft-split of the videos
|
|
|
|
- Add the choice of resolution
|
2017-08-06 15:26:59 +02:00
|
|
|
- Add a queue to manage multiple users
|