New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for Telegram (t.me) #23376
Comments
Telegram is not video streaming website, Telegram is not a social network, Telegram is a instant messaging system, with it's own transport protocol. You can't watch videos by just clicking on "t.me/xxx" link, because there is no video streaming on t.me website - all video's accessible only using telegram protocol(you must have installed client, or use web-client), not directly via http(-s). Implementing this is different from main goal and current architecture of YouTube-dl, also it requires adding some pretty huge Telegram client library to youtube-dl dependencies(like Telethon or pyrogram). Also, I think, it's don't have any practical purpose - inside telegram you can literally just right-click and select "download" on any video - there is no any downloading restriction's like on streaming websites. |
I found out this later. |
Leaving this open if anybody wants to add additional comments |
Hi @sergey-rufanov,
If I access t.me messages with my firefox browser and if they embed videos or voice messages, I can watch/hear them directly within the browser. So, videos or voice messages might accessed via http(-s) by the browser – ant not via telegram protocol? Or, the telegram protocol is build in the browser?
But I think it might have a practical purpose: On my desktop computer (in my case the OS is Linux, but I think that there would be a real purpose for other OSs, too) I want to watch/hear telegram videos or voice messages on an external application like mpv for better (means: more exactly) forward/backwards skipping inside the videos or voice messages. mpv uses youtube-dl to access to videos etc. and then play them without downloading them permanently. If I actually want to cause a familar behaviour, I first have to download the video etc. to my "/tmp"-directory and then access to it via mpv or a similar application. So, to simplify the whole procedure, the Telegram (t.me) support should be added to youtube-dl. |
ytdl is compatible with t.me/xyz/123 media content when you add ?embed=1 suffix: youtube-dl https://t.me/police_frequency/19788?embed=1
|
@aatv I LOVE YOU THANK YOU OMG |
Another use-case: if t.me says The |
I just ran into that too. RIP. |
Example URLs
Description
Hi, add support for Telegram. It's social network with more then 200 million users. See this press release: https://telegram.org/blog/200-million Twitter or Instagram is similar service like Telegram.
The text was updated successfully, but these errors were encountered: