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

NHL URL Fail... #4013

Closed
RingoTheDog opened this issue Oct 23, 2014 · 2 comments
Closed

NHL URL Fail... #4013

RingoTheDog opened this issue Oct 23, 2014 · 2 comments

Comments

@RingoTheDog
Copy link

@RingoTheDog RingoTheDog commented Oct 23, 2014

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

@dstftw dstftw closed this in 43d9718 Oct 25, 2014
@dstftw
Copy link
Collaborator

@dstftw dstftw commented Oct 25, 2014

Fixed. Thanks for the report.

@phihag
Copy link
Contributor

@phihag phihag commented Oct 26, 2014

This fix has made it into youtube-dl 2014.10.26. Refer to our FAQ if you need help updating.

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.