Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
An IE for canalplus.fr #918
Comments
|
I am not sure which technology you are using, but I could get the video with the following script (using 'curl') and XSL stylesheet:
|
|
@oluc can you explain a little bit. You open |
|
The XSL stylesheet gets the content of the node /VIDEOS/VIDEO/MEDIA/VIDEOS/HD in the XML, which contains the URL of the HD mp4. If you use python, maybe you have an easy API to access this node without XSL. For example, with vid_id 892479, we get Then I fetch that mp4 with 'curl', which supports the RTMP protocol This Does it help? |
|
You can hope to have its support in the next release of youtube-dl. But i am not making any promises. It will still take some time to implement it in youtube-dl |
|
Thanks to both of you for the information, I've added an InfoExtractor. |
|
Thanx @jaimeMF |
We can make an IE for canalplus.fr as requested in #59
An example url is
http://www.canalplus.fr/c-divertissement/pid3351-c-le-petit-journal.html?vid=889861We just have to request
http://service.canal-plus.com/video/rest/getVideosLiees/cplus/<vid_id>It returns an XML document with all the rtmp urls. It gives us three types of urls. One for low quality. Another for high quality and another for hd. Now the only thing which is left to be figured out is what should be the complete rtmpdump command for downloading the video.