ytdl-org / youtube-dl

Command-line program to download videos from YouTube.com and other video sites
http://ytdl-org.github.io/youtube-dl/
The Unlicense
131.2k stars 9.93k forks source link

TV5unis.ca / TV5monde.com (.m3u8 url in source) #23927

Open frenchyacinthe opened 4 years ago

frenchyacinthe commented 4 years ago

Checklist

Example URLs

Description

Site may be geo-blocked outside Canada or certain countries.

At this time, videos can be downloaded by manually retrieving the .m3u8 url in the source and pasting it into youtube-dl. Would love to automate this process. Here are copies of the relevant information in the source:

jojoke commented 4 years ago

Hi ! I'm a newbie trying to help, but I don't get which part do you copy to download the video with the .m38u url.

For your first example, do you download the video with this command ? youtube-dl https://hlstv5mplus-vh.akamaihd.net/i/hls/3e/4634928_,300,700,1400,2100,k.mp4.csmil/master.m3u8

Sorry for bothering you

frenchyacinthe commented 4 years ago

Yes. Pasting the .m3u8 into youtube-dl allows to download the stream using the generic routine.

Also, it looks like a recent commit might be fixing support for https://revoir.tv5monde.com/ videos

dirkf commented 1 year ago

These can be rolled into the existing tv5mondeplus extractor

The tv5unis.ca pages are quite different and need a separate extractor. The site JS needs to be reversed to get the media links from the page.