Add Curl-Impersonate Downloader via curl_cffi project
The browser to imitate can be set in the config:
For example,
```yaml
curl_impersonate:
browser: chrome110
```
It will default to using chrome110 if no value is set in the config.
A list of available Browsers are listed here: https://github.com/yifeikong/curl_cffi#sessions
This commit is contained in:
@@ -61,6 +61,7 @@ subtitle-filter = "^1.4.8"
|
||||
Unidecode = "^1.3.7"
|
||||
urllib3 = "^2.1.0"
|
||||
chardet = "^5.2.0"
|
||||
curl-cffi = "^0.5.10"
|
||||
|
||||
[tool.poetry.dev-dependencies]
|
||||
pre-commit = "^3.5.0"
|
||||
|
||||
Reference in New Issue
Block a user