Failed to parse JSON ExtractorError #13206

Closed
opened 2026-02-21 07:10:31 -05:00 by deekerman · 0 comments
Owner

Originally created by @metulburr on GitHub (Mar 26, 2018).

I get this error when downloading now out of the blue.

$ youtube-dl --verbose https://vidzi.tv/dcc4jli4amjb.html
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'--verbose', u'https://vidzi.tv/dcc4jli4amjb.html']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2018.03.26.1
[debug] Python version 2.7.12 (CPython) - Linux-4.4.0-116-generic-x86_64-with-Ubuntu-16.04-xenial
[debug] exe versions: avconv 3.4.1-1, avprobe 3.4.1-1, ffmpeg 3.4.1-1, ffprobe 3.4.1-1, rtmpdump 2.4
[debug] Proxy map: {}
[Vidzi] dcc4jli4amjb: Downloading webpage
ERROR: dcc4jli4amjb: Failed to parse JSON  (caused by ValueError('Invalid control character at: line 1 column 337 (char 336)',)); 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/local/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 702, in _parse_json
    return json.loads(json_string)
  File "/usr/lib/python2.7/json/__init__.py", line 339, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python2.7/json/decoder.py", line 364, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python2.7/json/decoder.py", line 380, in raw_decode
    obj, end = self.scan_once(s, idx)
ValueError: Invalid control character at: line 1 column 337 (char 336)
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 785, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 440, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/vidzi.py", line 57, in _real_extract
    video_id, transform_source=js_to_json)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 706, in _parse_json
    raise ExtractorError(errmsg, cause=ve)
ExtractorError: dcc4jli4amjb: Failed to parse JSON  (caused by ValueError('Invalid control character at: line 1 column 337 (char 336)',)); 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.

Originally created by @metulburr on GitHub (Mar 26, 2018). I get this error when downloading now out of the blue. ``` $ youtube-dl --verbose https://vidzi.tv/dcc4jli4amjb.html [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: [u'--verbose', u'https://vidzi.tv/dcc4jli4amjb.html'] [debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8 [debug] youtube-dl version 2018.03.26.1 [debug] Python version 2.7.12 (CPython) - Linux-4.4.0-116-generic-x86_64-with-Ubuntu-16.04-xenial [debug] exe versions: avconv 3.4.1-1, avprobe 3.4.1-1, ffmpeg 3.4.1-1, ffprobe 3.4.1-1, rtmpdump 2.4 [debug] Proxy map: {} [Vidzi] dcc4jli4amjb: Downloading webpage ERROR: dcc4jli4amjb: Failed to parse JSON (caused by ValueError('Invalid control character at: line 1 column 337 (char 336)',)); 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/local/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 702, in _parse_json return json.loads(json_string) File "/usr/lib/python2.7/json/__init__.py", line 339, in loads return _default_decoder.decode(s) File "/usr/lib/python2.7/json/decoder.py", line 364, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/lib/python2.7/json/decoder.py", line 380, in raw_decode obj, end = self.scan_once(s, idx) ValueError: Invalid control character at: line 1 column 337 (char 336) Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 785, in extract_info ie_result = ie.extract(url) File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 440, in extract ie_result = self._real_extract(url) File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/vidzi.py", line 57, in _real_extract video_id, transform_source=js_to_json) File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 706, in _parse_json raise ExtractorError(errmsg, cause=ve) ExtractorError: dcc4jli4amjb: Failed to parse JSON (caused by ValueError('Invalid control character at: line 1 column 337 (char 336)',)); 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. ```
deekerman 2026-02-21 07:10:31 -05:00
  • closed this issue
  • added the
    duplicate
    label
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/youtube-dl-ytdl-org#13206
No description provided.