Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mediathek.daserste.de: Failed to download JSON #3281

Closed
marians opened this issue Jul 17, 2014 · 3 comments
Closed

mediathek.daserste.de: Failed to download JSON #3281

marians opened this issue Jul 17, 2014 · 3 comments

Comments

@marians
Copy link

@marians marians commented Jul 17, 2014

Command:

youtube-dl --verbose http://mediathek.daserste.de/sendungen_a-z/314636_mittagsmagazin/22418702_code-for-germany

Output:

[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://mediathek.daserste.de/sendungen_a-z/314636_mittagsmagazin/22418702_code-for-germany']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.07.15
[debug] Python version 2.7.5 - Darwin-13.2.0-x86_64-i386-64bit
[debug] Proxy map: {}
[ARD] 22418702_code-for-germany: Downloading webpage
WARNING: unable to extract description; please report this issue on http://yt-dl.org/bug
WARNING: unable to extract thumbnail url; please report this issue on http://yt-dl.org/bug
[ARD] 22418702_code-for-germany: Downloading JSON metadata
ERROR: Failed to download JSON; 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/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 308, in _download_json
return json.loads(json_string)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/init.py", line 338, in loads
return _default_decoder.decode(s)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 365, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 383, in raw_decode
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 516, in extract_info
ie_result = ie.extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 168, in extract
return self._real_extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/ard.py", line 51, in _real_extract
'http://www.ardmediathek.de/play/media/%s' % video_id, video_id)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 310, in _download_json
raise ExtractorError('Failed to download JSON', cause=ve)
ExtractorError: Failed to download JSON; 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.

@Natseo
Copy link

@Natseo Natseo commented Jul 20, 2014

the same error occurs with youtube-dl version 2014.7.20:
$ youtube-dl http://mediathek.daserste.de/sendungen_a-z/328454_anne-will/22429276_vertrauen-ist-gut-spionieren-ist-besser-geht --verbose
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['http://mediathek.daserste.de/sendungen_a-z/328454_anne-will/22429276_vertrauen-ist-gut-spionieren-ist-besser-geht', '--verbose']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.07.20
[debug] Python version 2.7.3 - Linux-3.2.0-67-generic-x86_64-with-Ubuntu-12.04-precise
[debug] Proxy map: {}
[ARD] 22429276_vertrauen-ist-gut-spionieren-ist-besser-geht: Downloading webpage
WARNING: unable to extract description; please report this issue on http://yt-dl.org/bug
WARNING: unable to extract thumbnail url; please report this issue on http://yt-dl.org/bug
[ARD] 22429276_vertrauen-ist-gut-spionieren-ist-besser-geht: Downloading JSON metadata
ERROR: Failed to download JSON; 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/bin/youtube-dl/youtube_dl/extractor/common.py", line 308, in _download_json
return json.loads(json_string)
File "/usr/lib/python2.7/json/init.py", line 326, in loads
return _default_decoder.decode(s)
File "/usr/lib/python2.7/json/decoder.py", line 366, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python2.7/json/decoder.py", line 384, in raw_decode
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
Traceback (most recent call last):
File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 516, in extract_info
ie_result = ie.extract(url)
File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 168, in extract
return self._real_extract(url)
File "/usr/bin/youtube-dl/youtube_dl/extractor/ard.py", line 51, in _real_extract
'http://www.ardmediathek.de/play/media/%s' % video_id, video_id)
File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 310, in _download_json
raise ExtractorError('Failed to download JSON', cause=ve)
ExtractorError: Failed to download JSON; 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.

@phihag phihag closed this in 29546b3 Jul 20, 2014
@phihag
Copy link
Contributor

@phihag phihag commented Jul 20, 2014

Thank you for the report. Support for this new video style has been added in youtube-dl 2014.07.20.1. Type sudo youtube-dl -U to update.

@Natseo
Copy link

@Natseo Natseo commented Jul 21, 2014

Klappt alles prima! Tausend Dank für die schnelle Bearbeitung!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.