Skip to content

Commit

Permalink
[rh:curl_cffi] Allow any version of curl_cffi
Browse files Browse the repository at this point in the history
Authored by: bashonly
  • Loading branch information
bashonly committed Mar 15, 2024
1 parent 6c7010f commit e1f0672
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions yt_dlp/networking/_curlcffi.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,6 @@
if curl_cffi is None:
raise ImportError('curl_cffi is not installed')

curl_cffi_version = tuple(int_or_none(x, default=0) for x in curl_cffi.__version__.split('.'))

if curl_cffi_version != (0, 5, 10):
raise ImportError('Only curl_cffi 0.5.10 is supported')

import curl_cffi.requests
from curl_cffi.const import CurlECode, CurlOpt

Expand Down

0 comments on commit e1f0672

Please sign in to comment.