Package: youtube-dl
Version: 2020.09.14-1
Severity: important


-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (650, 'testing'), (550, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.8.0-3-amd64 (SMP w/2 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_CRAP, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=zh_TW.UTF-8, LC_CTYPE=zh_TW.UTF-8 (charmap=UTF-8), 
LANGUAGE=zh_TW:zh
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages youtube-dl depends on:
ii  python3                3.8.2-3
ii  python3-pkg-resources  50.3.0-1

Versions of packages youtube-dl recommends:
ii  aria2            1.35.0-2+b1
ii  ca-certificates  20200601
ii  curl             7.72.0-1
ii  ffmpeg           7:4.3.1-4
ii  mpv              0.32.0-2+b1
ii  python3-pyxattr  0.6.1-2+b2
ii  rtmpdump         2.4+20151223.gitfa8646d.1-2+b2
ii  wget             1.20.3-1+b3

Versions of packages youtube-dl suggests:
pn  libfribidi-bin | bidiv  <none>
pn  phantomjs               <none>

-- no debconf information

-- verbose

agn@debian-agn:~$ youtube-dl "ytsearch5:schubert D894" -ies --get-id 
--get-thumbnail --verbose
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['ytsearch5:schubert D894', '-ies', '--get-id', 
'--get-thumbnail', '--verbose']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2020.09.14
[debug] Python version 3.8.6 (CPython) - 
Linux-5.8.0-3-amd64-x86_64-with-glibc2.29
[debug] exe versions: ffmpeg 4.3.1-4, ffprobe 4.3.1-4, rtmpdump 2.4
[debug] Proxy map: {}
ERROR: query "schubert D894": 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/lib/python3/dist-packages/youtube_dl/extractor/common.py", line 
899, in _parse_json
    return json.loads(json_string)
  File "/usr/lib/python3.8/json/__init__.py", line 357, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python3.8/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python3.8/json/decoder.py", line 355, 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/lib/python3/dist-packages/youtube_dl/extractor/common.py", line 
899, in _parse_json
    return json.loads(json_string)
  File "/usr/lib/python3.8/json/__init__.py", line 357, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python3.8/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python3.8/json/decoder.py", line 355, 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/lib/python3/dist-packages/youtube_dl/YoutubeDL.py", line 797, in 
extract_info
    ie_result = ie.extract(url)
  File "/usr/lib/python3/dist-packages/youtube_dl/extractor/common.py", line 
530, in extract
    ie_result = self._real_extract(url)
  File "/usr/lib/python3/dist-packages/youtube_dl/extractor/common.py", line 
3005, in _real_extract
    return self._get_n_results(query, n)
  File "/usr/lib/python3/dist-packages/youtube_dl/extractor/youtube.py", line 
3200, in _get_n_results
    data = self._download_json(
  File "/usr/lib/python3/dist-packages/youtube_dl/extractor/common.py", line 
888, in _download_json
    res = self._download_json_handle(
  File "/usr/lib/python3/dist-packages/youtube_dl/extractor/common.py", line 
874, in _download_json_handle
    return self._parse_json(
  File "/usr/lib/python3/dist-packages/youtube_dl/extractor/common.py", line 
903, in _parse_json
    raise ExtractorError(errmsg, cause=ve)
youtube_dl.utils.ExtractorError: query "schubert D894": 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.

Reply via email to