main.py | ||
README.md | ||
vid_utils.py |
telegram-bot-youtube-downloader
Change TOKEN with your token
Usage:
- Send link of video (@vid inline is comfortable)
- The bot will download the video and send it
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/
Tips:
- Use PythonAnyWhere for hosting the bot https://www.pythonanywhere.com
TODO
- split videos larger than 50MB in videos smaller than 50MB (bots can not upload file larger than 50MB)