Package: yt-dlp
Version: 2026.07.04-1
Severity: normal

Below are the results of some attempts to use the --impersonate option.

Ideally this would just work, but failing that it should handle the error
without a backtrace.

$ yt-dlp --list-impersonate-targets
[info] Available impersonate targets
Client    OS   Source
--------------------------------------------
Tor       -    curl_cffi>=0.11 (unavailable)
Edge      -    curl_cffi (unavailable)
Firefox   -    curl_cffi>=0.10 (unavailable)
Safari    -    curl_cffi (unavailable)
Chrome    -    curl_cffi (unavailable)
$ yt-dlp https://vimeo.com/235272168 --impersonate=""
Traceback (most recent call last):
  File "/usr/bin/yt-dlp", line 8, in <module>
    sys.exit(main())
             ~~~~^^
  File "/usr/lib/python3/dist-packages/yt_dlp/__init__.py", line 1080, in main
    _exit(*variadic(_real_main(argv)))
                    ~~~~~~~~~~^^^^^^
  File "/usr/lib/python3/dist-packages/yt_dlp/__init__.py", line 982, in 
_real_main
    with YoutubeDL(ydl_opts) as ydl:
         ~~~~~~~~~^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/yt_dlp/YoutubeDL.py", line 770, in 
__init__
    raise YoutubeDLError(
    ...<2 lines>...
        f'You may be missing dependencies required to support this target.')
yt_dlp.utils.YoutubeDLError: Impersonate target "" is not available. Use 
--list-impersonate-targets to see available targets. You may be missing 
dependencies required to support this target.
$ yt-dlp https://vimeo.com/235272168 --impersonate chrome
Traceback (most recent call last):
  File "/usr/bin/yt-dlp", line 8, in <module>
    sys.exit(main())
             ~~~~^^
  File "/usr/lib/python3/dist-packages/yt_dlp/__init__.py", line 1080, in main
    _exit(*variadic(_real_main(argv)))
                    ~~~~~~~~~~^^^^^^
  File "/usr/lib/python3/dist-packages/yt_dlp/__init__.py", line 982, in 
_real_main
    with YoutubeDL(ydl_opts) as ydl:
         ~~~~~~~~~^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/yt_dlp/YoutubeDL.py", line 770, in 
__init__
    raise YoutubeDLError(
    ...<2 lines>...
        f'You may be missing dependencies required to support this target.')
yt_dlp.utils.YoutubeDLError: Impersonate target "chrome" is not available. Use 
--list-impersonate-targets to see available targets. You may be missing 
dependencies required to support this target.

-- System Information:
Debian Release: forky/sid
Architecture: amd64 (x86_64)

Kernel: Linux 7.1.3+deb14-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_AU:en
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect

Versions of packages yt-dlp depends on:
ii  python3               3.14.6-1
ii  python3-certifi       2026.6.17+ds-1
ii  python3-mutagen       1.47.0-2
ii  python3-pycryptodome  3.20.0+dfsg-3
ii  python3-requests      2.32.5+dfsg-2
ii  python3-urllib3       2.7.0-2
ii  python3-websockets    16.0-1

Versions of packages yt-dlp recommends:
ii  ca-certificates  20260601
ii  curl             8.21.0-2
ii  ffmpeg           7:8.1.2-2+b1
ii  wget             1.25.0-2

Versions of packages yt-dlp suggests:
pn  deno | nodejs | quickjs  <none>
pn  libfribidi-bin | bidiv   <none>

-- no debconf information

Reply via email to