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

Raiplay.it ValueError('No JSON object could be decoded',) #23184

Closed
donatom805 opened this issue Nov 23, 2019 · 0 comments
Closed

Raiplay.it ValueError('No JSON object could be decoded',) #23184

donatom805 opened this issue Nov 23, 2019 · 0 comments
Labels

Comments

@donatom805
Copy link

@donatom805 donatom805 commented Nov 23, 2019

I can't capture any video streams from raiplay.it.

There is a similar bug reported here but it does not contain "No JSON object could be decoded"

Here is a read-out of the error:

$ youtube-dl https://www.raiplay.it/video/2016/06/Lea-d1f64288-b730-483f-ac2b-5535191f10e3.html
[RaiPlay] d1f64288-b730-483f-ac2b-5535191f10e3: Downloading video JSON
ERROR: d1f64288-b730-483f-ac2b-5535191f10e3: 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; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
[donatom@unknown9cd21e30a7cb ~]$ youtube-dl -v https://www.raiplay.it/video/2016/06/Lea-d1f64288-b730-483f-ac2b-5535191f10e3.html
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'https://www.raiplay.it/video/2016/06/Lea-d1f64288-b730-483f-ac2b-5535191f10e3.html']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.11.22
[debug] Python version 2.7.17 (CPython) - Linux-5.3.11-200.fc30.x86_64-x86_64-with-fedora-30-Thirty
[debug] exe versions: ffmpeg 4.1.4, ffprobe 4.1.4
[debug] Proxy map: {}
[RaiPlay] d1f64288-b730-483f-ac2b-5535191f10e3: Downloading video JSON
ERROR: d1f64288-b730-483f-ac2b-5535191f10e3: 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; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/home/donatom/.local/lib/python2.7/site-packages/youtube_dl/extractor/common.py", line 899, in _parse_json
return json.loads(json_string)
File "/usr/lib64/python2.7/json/init.py", line 339, in loads
return _default_decoder.decode(s)
File "/usr/lib64/python2.7/json/decoder.py", line 364, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib64/python2.7/json/decoder.py", line 382, in raw_decode
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
Traceback (most recent call last):
File "/home/donatom/.local/lib/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 796, in extract_info
ie_result = ie.extract(url)
File "/home/donatom/.local/lib/python2.7/site-packages/youtube_dl/extractor/common.py", line 530, in extract
ie_result = self._real_extract(url)
File "/home/donatom/.local/lib/python2.7/site-packages/youtube_dl/extractor/rai.py", line 174, in _real_extract
'%s?json' % url, video_id, 'Downloading video JSON')
File "/home/donatom/.local/lib/python2.7/site-packages/youtube_dl/extractor/common.py", line 892, in _download_json
expected_status=expected_status)
File "/home/donatom/.local/lib/python2.7/site-packages/youtube_dl/extractor/common.py", line 876, in _download_json_handle
fatal=fatal), urlh
File "/home/donatom/.local/lib/python2.7/site-packages/youtube_dl/extractor/common.py", line 903, in _parse_json
raise ExtractorError(errmsg, cause=ve)
ExtractorError: d1f64288-b730-483f-ac2b-5535191f10e3: 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; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Any help would be appreciated.

@dstftw dstftw closed this Nov 23, 2019
@dstftw dstftw added the duplicate label Nov 23, 2019
@ytdl-org ytdl-org locked and limited conversation to collaborators Nov 23, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
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.