mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-09-13 04:05:57 +00:00
[rh:curlcffi] Add support for curl_cffi
Authored by: coletdjnz, Grub4K, pukkandan, bashonly Co-authored-by: Simon Sawicki <[email protected]> Co-authored-by: pukkandan <[email protected]> Co-authored-by: bashonly <[email protected]>
This commit is contained in:
co-authored by
Simon Sawicki
pukkandan
bashonly
parent
0b81d4d252
commit
52f5be1f1e
@@ -28,3 +28,10 @@ except ImportError:
|
||||
pass
|
||||
except Exception as e:
|
||||
warnings.warn(f'Failed to import "websockets" request handler: {e}' + bug_reports_message())
|
||||
|
||||
try:
|
||||
from . import _curlcffi # noqa: F401
|
||||
except ImportError:
|
||||
pass
|
||||
except Exception as e:
|
||||
warnings.warn(f'Failed to import "curl_cffi" request handler: {e}' + bug_reports_message())
|
||||
|
||||
Reference in New Issue
Block a user