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

la7.it - ERROR: 0_0w23revv: Failed to parse JSON #22358

Closed
shibotto opened this issue Sep 10, 2019 · 1 comment
Closed

la7.it - ERROR: 0_0w23revv: Failed to parse JSON #22358

shibotto opened this issue Sep 10, 2019 · 1 comment

Comments

@shibotto
Copy link

@shibotto shibotto commented Sep 10, 2019

Checklist

  • I'm reporting a broken site support
  • I've verified that I'm running youtube-dl version 2019.09.01
  • I've checked that all provided URLs are alive and playable in a browser
  • I've checked that all URLs and arguments with special characters are properly quoted or escaped
  • I've searched the bugtracker for similar issues including closed ones

Verbose log

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://www.la7.it/laria-che-tira/video/cazzola-vs-bitonci-salvini-deve-andare-a-fare-in-culo-mi-alzo-e-vado-via-10-09-2019-281331']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.09.01
[debug] Python version 3.6.5 (CPython) - Linux-5.2.11-gentoo-x86_64-AMD_Ryzen_3_2200G_with_Radeon_Vega_Graphics-with-gentoo-2.6
[debug] exe versions: ffmpeg 4.1.3, ffprobe 4.1.3, rtmpdump 2.4
[debug] Proxy map: {}
[la7.it] cazzola-vs-bitonci-salvini-deve-andare-a-fare-in-culo-mi-alzo-e-vado-via-10-09-2019-281331: Downloading webpage
[Kaltura] 0_0w23revv: Downloading video info JSON
ERROR: 0_0w23revv: Failed to parse JSON  (caused by JSONDecodeError('Expecting value: line 1 column 1 (char 0)',)); 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 "/usr/lib64/python3.6/site-packages/youtube_dl/extractor/common.py", line 899, in _parse_json
    return json.loads(json_string)
  File "/usr/lib64/python3.6/json/__init__.py", line 354, in loads
    return _default_decoder.decode(s)
  File "/usr/lib64/python3.6/json/decoder.py", line 339, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib64/python3.6/json/decoder.py", line 357, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Traceback (most recent call last):
  File "/usr/lib64/python3.6/site-packages/youtube_dl/extractor/common.py", line 899, in _parse_json
    return json.loads(json_string)
  File "/usr/lib64/python3.6/json/__init__.py", line 354, in loads
    return _default_decoder.decode(s)
  File "/usr/lib64/python3.6/json/decoder.py", line 339, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib64/python3.6/json/decoder.py", line 357, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib64/python3.6/site-packages/youtube_dl/YoutubeDL.py", line 796, in extract_info
    ie_result = ie.extract(url)
  File "/usr/lib64/python3.6/site-packages/youtube_dl/extractor/common.py", line 530, in extract
    ie_result = self._real_extract(url)
  File "/usr/lib64/python3.6/site-packages/youtube_dl/extractor/kaltura.py", line 229, in _real_extract
    _, info, flavor_assets, captions = self._get_video_info(entry_id, partner_id, smuggled_data.get('service_url'))
  File "/usr/lib64/python3.6/site-packages/youtube_dl/extractor/kaltura.py", line 219, in _get_video_info
    video_id, actions, service_url, note='Downloading video info JSON')
  File "/usr/lib64/python3.6/site-packages/youtube_dl/extractor/kaltura.py", line 173, in _kaltura_api_call
    video_id, query=params, *args, **kwargs)
  File "/usr/lib64/python3.6/site-packages/youtube_dl/extractor/common.py", line 892, in _download_json
    expected_status=expected_status)
  File "/usr/lib64/python3.6/site-packages/youtube_dl/extractor/common.py", line 876, in _download_json_handle
    fatal=fatal), urlh
  File "/usr/lib64/python3.6/site-packages/youtube_dl/extractor/common.py", line 903, in _parse_json
    raise ExtractorError(errmsg, cause=ve)
youtube_dl.utils.ExtractorError: 0_0w23revv: Failed to parse JSON  (caused by JSONDecodeError('Expecting value: line 1 column 1 (char 0)',)); 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.

Description

Video: https://www.la7.it/laria-che-tira/video/cazzola-vs-bitonci-salvini-deve-andare-a-fare-in-culo-mi-alzo-e-vado-via-10-09-2019-281331

@syco
Copy link

@syco syco commented Sep 12, 2019

The checklist works!
I almost opened a new issue for the same problem.
I'm using version 2019.09.12.1 and I have the same issue, the url I'm trying to download is 'https://www.la7.it/dimartedi/rivedila7/dimartedi-puntata-10092019-11-09-2019-281525'
Thanks for any support..

@ytdl-org ytdl-org locked and limited conversation to collaborators Sep 30, 2019
@ytdl-org ytdl-org deleted a comment from syco Sep 30, 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.

2 participants
You can’t perform that action at this time.