Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
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.