This website works better with JavaScript
Sākums
Izpētīt
Palīdzība
Pierakstīties
zero
/
telegram-video-downloader
Vērot
1
Pievienot zvaigznīti
0
Atdalīts
0
Faili
Problēmas
0
Izmaiņu pieprasījumi
0
Vikivietne
Nav apraksta
12
Revīzijas
1
Atzari
0
Laidieni
Koks:
c9c4271d2f
Atzari
Tagi
master
telegram-video-...
HTTPS
SSH
ZIP
TAR.GZ
Hodza Alban
c9c4271d2f
fixed filename with space problem
6 gadi atpakaļ
README.md
fd6536ce62
Update README.md
6 gadi atpakaļ
main.py
02f953228e
pep8
6 gadi atpakaļ
vid_utils.py
c9c4271d2f
fixed filename with space problem
6 gadi atpakaļ
README.md
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
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)
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
Improve soft-split of the videos
Add the choice of resolution
Add a queue to manage multiple users