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 JSON error #26864

Closed
ssibb opened this issue Oct 11, 2020 · 2 comments
Closed

Raiplay JSON error #26864

ssibb opened this issue Oct 11, 2020 · 2 comments
Labels

Comments

@ssibb
Copy link

@ssibb ssibb commented Oct 11, 2020

Hello everybody,

I just want to report this error trying to download from Raiplay (I'm using the latest version available on python 2.7). I believe the Raiplay code is broken at least since August, when I remember having tried to download something, unfortunately without keeping logs of the error.

Other links might be found in this page: https://www.raiplay.it/programmi/superquarkpiu/superquark+/stagione-2019

Thank you and regards

C:\>youtube-dl --get-format --verbose  https://www.raiplay.it/video/2020/05/Superquark-piu-Il-grande-nemico-31611d9c-b9f7-4c7a-810b-00232e20d06b.html
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'--get-format', u'--verbose', u'https://www.raiplay.it/video/2020/05/Superquark-piu-Il-grande-nemico-31611d9c-b9f7-4c7a-810b-00232e20d06b.html']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2020.09.20
[debug] Python version 2.7.15 (CPython) - Windows-10-10.0.17134
[debug] exe versions: ffmpeg N-93056-g1e03d60054, ffprobe N-93056-g1e03d60054
[debug] Proxy map: {}
ERROR: 31611d9c-b9f7-4c7a-810b-00232e20d06b: 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 "c:\program files (x86)\python 2.7\lib\site-packages\youtube_dl\extractor\common.py", line 904, in _parse_json
    return json.loads(json_string)
  File "c:\program files (x86)\python 2.7\lib\json\__init__.py", line 339, in loads
    return _default_decoder.decode(s)
  File "c:\program files (x86)\python 2.7\lib\json\decoder.py", line 364, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "c:\program files (x86)\python 2.7\lib\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 "c:\program files (x86)\python 2.7\lib\site-packages\youtube_dl\YoutubeDL.py", line 797, in extract_info
    ie_result = ie.extract(url)
  File "c:\program files (x86)\python 2.7\lib\site-packages\youtube_dl\extractor\common.py", line 532, in extract
    ie_result = self._real_extract(url)
  File "c:\program files (x86)\python 2.7\lib\site-packages\youtube_dl\extractor\rai.py", line 174, in _real_extract
    '%s?json' % url, video_id, 'Downloading video JSON')
  File "c:\program files (x86)\python 2.7\lib\site-packages\youtube_dl\extractor\common.py", line 897, in _download_json
    expected_status=expected_status)
  File "c:\program files (x86)\python 2.7\lib\site-packages\youtube_dl\extractor\common.py", line 881, in _download_json_handle
    fatal=fatal), urlh
  File "c:\program files (x86)\python 2.7\lib\site-packages\youtube_dl\extractor\common.py", line 908, in _parse_json
    raise ExtractorError(errmsg, cause=ve)
ExtractorError: 31611d9c-b9f7-4c7a-810b-00232e20d06b: 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.
@iamleot
Copy link
Contributor

@iamleot iamleot commented Oct 11, 2020

Hello @ssibb!
#23040 should fix that.

@dstftw dstftw closed this Oct 17, 2020
@dstftw dstftw added the duplicate label Oct 17, 2020
@iamleot
Copy link
Contributor

@iamleot iamleot commented Oct 19, 2020

@dstftw can I please persuade you or anything else with commit access to possibly give a look to #23040? :) If that's geoblocked (I think so) I can easily rerun and recheck any possible test on demands.

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