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.
[Request] support for npo.nl live videostreams #4691
Comments
|
npo live streams will be supported in the next version. Thanks for the report. |
|
Absolutely fantastic! The urls work and with ffmpeg in place one can even 'record'. |
|
Didn't work any more |
My last request for now, because I'm asking a lot.
For complete npo.nl support, I was wondering if it's possible for youtube-dl to generate npo.nl live video-stream-urls, and only generate these urls, since live-streams can't be downloaded.
Npo.nl has the following live-streams:
http://www.npo.nl/live/npo-1
http://www.npo.nl/live/npo-2
http://www.npo.nl/live/npo-3
http://www.npo.nl/live/npo-nieuws
http://www.npo.nl/live/npo-politiek
http://www.npo.nl/live/npo-best
http://www.npo.nl/live/npo-doc
http://www.npo.nl/live/npo-101
http://www.npo.nl/live/npo-cultura
http://www.npo.nl/live/npo-zappxtra
http://www.npo.nl/live/npo-humor-tv
Youtube-dl at the moment:
Please visit this helpdeskweb.nl-website, because this guy has already done most of the work. The focus here is one the list of "Genereer link"-links, line 171-173 of the html-source:
...and the corresponding javascript in http://www.helpdeskweb.nl/script.js:
For http://www.npo.nl/live/npo-1 (Nederland 1) for instance it generates the following temporary(!) manifest-url:
http://l2cmb7eb7ed22b0054b46076000000.fde6e2a445ca7074.kpnsmoote1e.npostreaming.nl/d/live/npo/tvlive/ned1/ned1.isml/ned1.m3u8.
...after which the live videostream-urls after a
self._extract_m3u8_formats()will be:http://l2cmb7eb7ed22b0054b46076000000.fde6e2a445ca7074.kpnsmoote1e.npostreaming.nl/d/live/npo/tvlive/ned1/ned1.isml/ned1-audio=64000-video=200000.m3u8
http://l2cmb7eb7ed22b0054b46076000000.fde6e2a445ca7074.kpnsmoote1e.npostreaming.nl/d/live/npo/tvlive/ned1/ned1.isml/ned1-audio=128000-video=500000.m3u8
http://l2cmb7eb7ed22b0054b46076000000.fde6e2a445ca7074.kpnsmoote1e.npostreaming.nl/d/live/npo/tvlive/ned1/ned1.isml/ned1-audio=128000-video=700000.m3u8
http://l2cmb7eb7ed22b0054b46076000000.fde6e2a445ca7074.kpnsmoote1e.npostreaming.nl/d/live/npo/tvlive/ned1/ned1.isml/ned1-audio=128000-video=900000.m3u8
http://l2cmb7eb7ed22b0054b46076000000.fde6e2a445ca7074.kpnsmoote1e.npostreaming.nl/d/live/npo/tvlive/ned1/ned1.isml/ned1-audio=128000.m3u8
Is this possible with youtube-dl? Could this code be translated to python?