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.
Support tv.nrk.no #2980
Support tv.nrk.no #2980
Comments
|
Thanks for the report. Support for tv.nrk.no has been added and will be available in the next release of |
|
Wow, that was incredibly fast! And the implementation was very short. I thought this would be a difficult format to add support for, considering the length of AdobeHDS.php above. Was this format already understood? Anyway, thanks! |
|
Yes, we already have generic Adobe HDS support. Hence support for new hosters just boils down to extracting manifest link. |
|
Fixed in youtube-dl 2014.05.30.1. |
|
http://tv.nrksuper.no/ is identical, just branded towards kids. |
|
I tried to get this working in version 2014.06.07-1 from debian, without success: % youtube-dl --verbose http://tv.nrk.no/program/KOID20005814/et-moete-med-edward-snowden % The original 20 question url do work, so I guess there is something special about the snowdenurl. |
|
The "snowdenurl" uses capital characters, and needs something like Issue #3090 |
|
I just tried this for the first time, grabbed the first url I found and got
|
|
|
@dstftw OK, I thought that version number looked so recent but I guess youtube-dl moves fast; it works with git :-) |
While support for video clips at www.nrk.no, the new online TV site tv.nrk.no is apparently not supported. See for example the following URL:
http://tv.nrk.no/serie/20-spoersmaal-tv/muhh48000314/23-05-2014
The output from --verbose is:
sigurdkn@guu ~/downloads $ youtube-dl --verbose http://tv.nrk.no/serie/20-spoersmaal-tv/muhh48000314/23-05-2014
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://tv.nrk.no/serie/20-spoersmaal-tv/muhh48000314/23-05-2014']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.05.19
[debug] Python version 3.4.1 - Linux-3.14.4-1-ARCH-x86_64-with-arch
[debug] Proxy map: {}
[generic] 23-05-2014: Requesting header
[redirect] Following redirect to http://psfil.tv.nrk.no/content/feil/500.htm?aspxerrorpath=/serie/20-spoersmaal-tv/muhh48000314/23-05-2014
[generic] 23-05-2014: Requesting header
WARNING: Falling back on generic information extractor.
[generic] 23-05-2014: Downloading webpage
[generic] 23-05-2014: Extracting information
ERROR: Unsupported URL: http://psfil.tv.nrk.no/content/feil/500.htm?aspxerrorpath=/serie/20-spoersmaal-tv/muhh48000314/23-05-2014; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.
Traceback (most recent call last):
File "/usr/lib/python3.4/site-packages/youtube_dl/YoutubeDL.py", line 516, in extract_info
ie_result = ie.extract(url)
File "/usr/lib/python3.4/site-packages/youtube_dl/extractor/common.py", line 163, in extract
return self._real_extract(url)
File "/usr/lib/python3.4/site-packages/youtube_dl/extractor/generic.py", line 687, in _real_extract
raise ExtractorError('Unsupported URL: %s' % url)
youtube_dl.utils.ExtractorError: Unsupported URL: http://psfil.tv.nrk.no/content/feil/500.htm?aspxerrorpath=/serie/20-spoersmaal-tv/muhh48000314/23-05-2014; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.
This is with version 2014.05.19.
The following scripts manage to download the file:
http://folk.uio.no/sigurdkn/nrkdl
http://folk.uio.no/sigurdkn/AdobeHDS.php.txt
(the .txt is just there to prevent the server from trying to execute the php file). The latter script is a part of KSVScripts. I've seen Adobe HDS on other sites too, so getting support for this should help for more than just NRK.