1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-11-01 07:05:14 +00:00

[rh:curl_cffi] Support curl_cffi 0.11.x, 0.12.x, 0.13.x (#13989)

Authored by: bashonly
This commit is contained in:
bashonly
2025-08-10 22:16:07 -05:00
committed by GitHub
parent bf366517ef
commit e98695549e
3 changed files with 40 additions and 15 deletions

View File

@@ -1031,6 +1031,7 @@ def _real_main(argv=None):
(ImpersonateTarget('safari'), 'curl_cffi'),
(ImpersonateTarget('firefox'), 'curl_cffi>=0.10'),
(ImpersonateTarget('edge'), 'curl_cffi'),
(ImpersonateTarget('tor'), 'curl_cffi>=0.11'),
]
available_targets = ydl._get_available_impersonate_targets()