diff options
| author | vojkovic <git@vojk.au> | 2026-09-03 14:19:54 +0000 |
|---|---|---|
| committer | Brock Vojkovic <brock@vojk.au> | 2026-09-04 16:16:09 +0800 |
| commit | be836e614a2f2e7512e2e1915a0bc37d51ee865c (patch) | |
| tree | d08d26492eb1746d2c4b4f03c74dcff4e2a0072e /docs/dev | |
| parent | 15b0c8ef3ab02a86131040e5eabc0d5b82bb9470 (diff) | |
[mod] network: migrate to curl_cffi
Diffstat (limited to 'docs/dev')
| -rw-r--r-- | docs/dev/engines/engine_overview.rst | 4 | ||||
| -rw-r--r-- | docs/dev/reST.rst | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/docs/dev/engines/engine_overview.rst b/docs/dev/engines/engine_overview.rst index 8df18e08c..423249edc 100644 --- a/docs/dev/engines/engine_overview.rst +++ b/docs/dev/engines/engine_overview.rst @@ -143,7 +143,7 @@ parameters with default value can be redefined for special purposes. data dict ``{}`` cookies dict ``{}`` verify bool ``True`` - headers.User-Agent str a random User-Agent + headers.User-Agent str ``''`` category str current category, like ``'general'`` safesearch int ``0``, between ``0`` and ``2`` (normal, moderate, strict) time_range Optional[str] ``None``, can be ``day``, ``week``, ``month``, ``year`` @@ -229,6 +229,8 @@ following parameters can be used to specify a search request: max_redirects int maximum redirects, hard limit soft_max_redirects int maximum redirects, soft limit. Record an error but don't stop the engine raise_for_httperror bool True by default: raise an exception if the HTTP code of response is >= 300 + impersonate str curl_cffi impersonate target (default: chrome, none to disable) + curl_options dict Any extra libcurl options for the request =================== =========== ========================================================================== diff --git a/docs/dev/reST.rst b/docs/dev/reST.rst index d3138a851..b4c32c8be 100644 --- a/docs/dev/reST.rst +++ b/docs/dev/reST.rst @@ -286,7 +286,7 @@ content becomes smart. files & folders origin :origin:`docs/dev/reST.rst` ``:origin:`docs/dev/reST.rst``` pull request :pull:`4` ``:pull:`4``` patch :patch:`af2cae6` ``:patch:`af2cae6``` - PyPi package :pypi:`httpx` ``:pypi:`httpx``` + PyPi package :pypi:`curl_cffi` ``:pypi:`curl_cffi``` manual page man :man:`bash` ``:man:`bash``` intersphinx_ -------------------------------------------------------------------------------------------------- |
