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
132.31k stars 10.03k forks source link

Downloads from tv.nrk.no no longer works #9470

Closed josteink closed 8 years ago

josteink commented 8 years ago

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2016.05.10. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.


The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue

Downloads from NRK Web-TV no longer works.

According to my logs, this used to work up until May 3rd. Since then youtube-dl has failed to download videos from this site, with the error found in the report below.

I've verified in a web-browser that these videoes are available to mobile clients and Flash-enabled browsers like Google Chrome.


If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:

Add -v flag to your command line you run youtube-dl with, copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):

% youtube-dl --verbose 'https://tv.nrk.no/serie/knoettene/MSUI23006714/12-05-2016'
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'--verbose', u'https://tv.nrk.no/serie/knoettene/MSUI23006714/12-05-2016']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.05.10
[debug] Python version 2.7.6 - Linux-3.13.0-83-generic-x86_64-with-Ubuntu-14.04-trusty
[debug] exe versions: avconv 9.18-6, avprobe 9.18-6, rtmpdump 2.4
[debug] Proxy map: {}
[NRKTV] MSUI23006714: Downloading webpage
WARNING: unable to extract thumbnail; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
WARNING: unable to extract duration; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
ERROR: No video formats found; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 676, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 341, in extract
    return self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/nrk.py", line 316, in _real_extract
    self._sort_formats(formats)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 862, in _sort_formats
    raise ExtractorError('No video formats found')
ExtractorError: No video formats found; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Description of your issue, suggested solution and other information

Explanation of your issue in arbitrary form goes here. Please make sure the description is worded well enough to be understood. Provide as much context and examples as possible. If work on your issue required an account credentials please provide them or explain how one can obtain them.

pepper77 commented 8 years ago

I have the exact same issue. It worked yesterday, but not today. Might be that NRK has changed something in their web/streaming solution. I had an old version of youtube-dl, so I updated to 2016.05.10, but the error was still the same. This is my output:

$ youtube-dl --verbose http://tv.nrksuper.no/serie/den-ultimate-spider-man/MSUI33005613/sesong-3/episode-26 [debug] System config: [] [debug] User config: [] [debug] Command-line args: [u'--verbose', u'http://tv.nrksuper.no/serie/den-ultimate-spider-man/MSUI33005613/sesong-3/episode-26'] [debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8 [debug] youtube-dl version 2016.05.10 [debug] Python version 2.7.6 - Linux-3.13.0-85-generic-x86_64-with-Ubuntu-14.04-trusty [debug] exe versions: avconv 9.18-6, avprobe 9.18-6, ffmpeg N-79139-gde1a0d4, ffprobe N-79139-gde1a0d4, rtmpdump 2.4 [debug] Proxy map: {} [NRKTV] MSUI33005613: Downloading webpage WARNING: unable to extract thumbnail; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output. WARNING: unable to extract duration; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output. ERROR: No video formats found; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output. Traceback (most recent call last): File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 676, in extract_info ie_result = ie.extract(url) File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 341, in extract return self._real_extract(url) File "/usr/local/bin/youtube-dl/youtube_dl/extractor/nrk.py", line 316, in _real_extract self._sort_formats(formats) File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 862, in _sort_formats raise ExtractorError('No video formats found') ExtractorError: No video formats found; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

I noticed I ran youtube-dl from the same Ubuntu-version as josteink, so I tried running it from OS X also, and it was the same result, but --verbose gave a little different output: $ youtube-dl --verbose http://tv.nrksuper.no/serie/den-ultimate-spider-man/MSUI33005613/sesong-3/episode-26 [debug] System config: [] [debug] User config: [] [debug] Command-line args: [u'--verbose', u'http://tv.nrksuper.no/serie/den-ultimate-spider-man/MSUI33005613/sesong-3/episode-26'] [debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8 [debug] youtube-dl version 2016.05.10 [debug] Python version 2.7.10 - Darwin-15.4.0-x86_64-i386-64bit Traceback (most recent call last): File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 162, in _run_module_as_main "main", fname, loader, pkg_name) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code exec code in run_globals File "/usr/local/bin/youtube-dl/main.py", line 19, in File "/usr/local/bin/youtube-dl/youtube_dl/init.py", line 421, in main File "/usr/local/bin/youtube-dl/youtube_dl/init.py", line 388, in _real_main File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 352, in init File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1986, in print_debug_header File "/usr/local/bin/youtube-dl/youtube_dl/postprocessor/ffmpeg.py", line 64, in get_versions File "/usr/local/bin/youtube-dl/youtube_dl/postprocessor/ffmpeg.py", line 48, in init File "/usr/local/bin/youtube-dl/youtube_dl/postprocessor/ffmpeg.py", line 105, in _determine_executables File "/usr/local/bin/youtube-dl/youtube_dl/postprocessor/ffmpeg.py", line 105, in File "/usr/local/bin/youtube-dl/youtube_dl/utils.py", line 1690, in get_exe_version File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 710, in init errread, errwrite) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1334, in _execute_child child_exception = pickle.loads(data) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/pickle.py", line 1382, in loads return Unpickler(file).load() File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/pickle.py", line 858, in load dispatchkey File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/pickle.py", line 966, in load_string raise ValueError, "insecure string pickle" ValueError: insecure string pickle

TRox1972 commented 8 years ago

Experiencing the same issue. Not all videos on the site are geo-restricted, though; this one shouldn't be.

josteink commented 8 years ago

Running from git master, I can confirm this now again works.

Thanks for the awesomely fast fix :)