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 / 'No JSON object could be decoded' #4494

Closed
RingoTheDog opened this issue Dec 16, 2014 · 2 comments
Closed

NHL / 'No JSON object could be decoded' #4494

RingoTheDog opened this issue Dec 16, 2014 · 2 comments

Comments

@RingoTheDog
Copy link

@RingoTheDog RingoTheDog commented Dec 16, 2014

URL: http://video.coyotes.nhl.com/videocenter/console?id=2014020444-X-h

youtube-dl.py -v "http://video.coyotes.nhl.com/videocenter/console?id=2014020444-X-h"
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-v', 'http://video.coyotes.nhl.com/videocenter/console?id=2014020444-X-h']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2014.12.16.2
[debug] Python version 2.7.5 - Windows-7-6.1.7601-SP1
[debug] exe versions: ffmpeg N-40824-g31dfe20, rtmpdump 2.4
[debug] Proxy map: {}
[nhl.com] 2014020444-: Downloading JSON metadata
ERROR: 2014020444-: 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 latest version; ty
pe 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 "C:\Transmogrifier\youtube-dl.py\youtube_dl\extractor\common.py", line 402, 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 592, in extract_info
ie_result = ie.extract(url)
File "C:\Transmogrifier\youtube-dl.py\youtube_dl\extractor\common.py", line 243, in extract
return self._real_extract(url)
File "C:\Transmogrifier\youtube-dl.py\youtube_dl\extractor\nhl.py", line 102, in _real_extract
json_url, video_id, transform_source=self._fix_json)
File "C:\Transmogrifier\youtube-dl.py\youtube_dl\extractor\common.py", line 396, 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 406, in _parse_json
raise ExtractorError(errmsg, cause=ve)
ExtractorError: 2014020444-: 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 latest ve
rsion; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

(I am pretty sure this is a different issue from the NHL / rtmpdump issue I posted yesterday...but sorry if it is the same)

Ringo

@phihag phihag closed this in b1ccbed Dec 16, 2014
@phihag
Copy link
Contributor

@phihag phihag commented Dec 17, 2014

Fixed in youtube-dl 2014.12.17. Update as usual ;)

@RingoTheDog
Copy link
Author

@RingoTheDog RingoTheDog commented Dec 17, 2014

AMAZING... as usual

Thanks...

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