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.
NHL URL Fail... #4013
NHL URL Fail... #4013
Comments
|
Fixed. Thanks for the report. |
|
This fix has made it into youtube-dl 2014.10.26. Refer to our FAQ if you need help updating. |
URL: http://video.nhl.com/videocenter/console?id=2014020024-628-h
ERROR: ExtractorError: 2014020024: Failed to parse JSON
youtube-dl.py -v http://video.nhl.com/videocenter/console?id=2014020024-628-h
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-v', 'http://video.nhl.com/videocenter/console?id=2014020024-628-h']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2014.10.23
[debug] Python version 2.7.5 - Windows-7-6.1.7601-SP1
[debug] Proxy map: {}
[nhl.com] 2014020024: Downloading JSON metadata
ERROR: 2014020024: Failed to parse JSON (caused by ValueError('No JSON object could be decoded',)); please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose f
lag 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 "C:\Transmogrifier\youtube-dl.py\youtube_dl\extractor\common.py", line 343, in download_json
return json.loads(json_string)
File "C:\Python27\lib\json__init_.py", line 338, in loads
return _default_decoder.decode(s)
File "C:\Python27\lib\json\decoder.py", line 365, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "C:\Python27\lib\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 "C:\Transmogrifier\youtube-dl.py\youtube_dl\YoutubeDL.py", line 524, in extract_info
ie_result = ie.extract(url)
File "C:\Transmogrifier\youtube-dl.py\youtube_dl\extractor\common.py", line 193, in extract
return self._real_extract(url)
File "C:\Transmogrifier\youtube-dl.py\youtube_dl\extractor\nhl.py", line 71, in _real_extract
json_url, video_id, transform_source=self._fix_json)
File "C:\Transmogrifier\youtube-dl.py\youtube_dl\extractor\common.py", line 347, in _download_json
raise ExtractorError(errmsg, cause=ve)
ExtractorError: 2014020024: Failed to parse JSON (caused by ValueError('No JSON object could be decoded',)); 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.
Thanks in advance...
Ringo