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: Failed to parse JSON #6940

Open
RingoTheDog opened this issue Sep 23, 2015 · 0 comments
Open

NHL: Failed to parse JSON #6940

RingoTheDog opened this issue Sep 23, 2015 · 0 comments

Comments

@RingoTheDog
Copy link

@RingoTheDog RingoTheDog commented Sep 23, 2015

URL: "http://video.sabres.nhl.com/videocenter/console?catid=1018&id=835560&lang=en&navid=DL|BUF|home"

C:\Transmogrifier>youtube-dl.py -v "http://video.sabres.nhl.com/videocenter/console?catid=1018&id=835560&lang=en&navid=DL|BUF|home"
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'http://video.sabres.nhl.com/videocenter/console?catid=1018&id=835560&lang=en&navid=DL|BUF|home']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2015.09.22
[debug] Python version 2.7.5 - Windows-7-6.1.7601-SP1
[debug] exe versions: ffmpeg N-71727-g46778ab, rtmpdump 2.4
[debug] Proxy map: {}
[nhl.com] 835560: Downloading JSON metadata
ERROR: 835560: Failed to parse JSON (caused by ValueError('No JSON object could be decoded',)); please report this issue on https://yt-dl.org/bug . Make sure you are using the late
outube-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 "C:\Transmogrifier\youtube-dl.py\youtube_dl\extractor\common.py", line 480, in parse_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 660, in extract_info
ie_result = ie.extract(url)
File "C:\Transmogrifier\youtube-dl.py\youtube_dl\extractor\common.py", line 287, in extract
return self._real_extract(url)
File "C:\Transmogrifier\youtube-dl.py\youtube_dl\extractor\nhl.py", line 143, in _real_extract
return self._real_extract_video(video_id)
File "C:\Transmogrifier\youtube-dl.py\youtube_dl\extractor\nhl.py", line 29, in _real_extract_video
json_url, video_id, transform_source=self._fix_json)
File "C:\Transmogrifier\youtube-dl.py\youtube_dl\extractor\common.py", line 474, in _download_json
json_string, video_id, transform_source=transform_source, fatal=fatal)
File "C:\Transmogrifier\youtube-dl.py\youtube_dl\extractor\common.py", line 484, in _parse_json
raise ExtractorError(errmsg, cause=ve)
ExtractorError: 835560: Failed to parse JSON (caused by ValueError('No JSON object could be decoded',)); please report this issue on https://yt-dl.org/bug . Make sure you are using
; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Direct link: http://video.sabres.nhl.com/videocenter/console?id=835561&catid=1018
does work....

Thanks
Ringo

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
1 participant
You can’t perform that action at this time.