document 'extractor.headers' and 'extractor.ciphers'
This commit is contained in:
@@ -470,8 +470,19 @@ extractor.*.proxy
|
|||||||
Type
|
Type
|
||||||
* ``string``
|
* ``string``
|
||||||
* ``object`` (`scheme` -> `proxy`)
|
* ``object`` (`scheme` -> `proxy`)
|
||||||
Default
|
Example
|
||||||
``null``
|
.. code:: json
|
||||||
|
|
||||||
|
"http://10.10.1.10:3128"
|
||||||
|
|
||||||
|
.. code:: json
|
||||||
|
|
||||||
|
{
|
||||||
|
"http" : "http://10.10.1.10:3128",
|
||||||
|
"https": "http://10.10.1.10:1080",
|
||||||
|
"http://10.20.1.128": "http://10.10.1.10:5323"
|
||||||
|
}
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Proxy (or proxies) to be used for remote connections.
|
Proxy (or proxies) to be used for remote connections.
|
||||||
|
|
||||||
@@ -483,16 +494,6 @@ Description
|
|||||||
``scheme://host`` as key.
|
``scheme://host`` as key.
|
||||||
See `Requests' proxy documentation`_ for more details.
|
See `Requests' proxy documentation`_ for more details.
|
||||||
|
|
||||||
Example:
|
|
||||||
|
|
||||||
.. code:: json
|
|
||||||
|
|
||||||
{
|
|
||||||
"http" : "http://10.10.1.10:3128",
|
|
||||||
"https": "http://10.10.1.10:1080",
|
|
||||||
"http://10.20.1.128": "http://10.10.1.10:5323"
|
|
||||||
}
|
|
||||||
|
|
||||||
Note: If a proxy URLs does not include a scheme,
|
Note: If a proxy URLs does not include a scheme,
|
||||||
``http://`` is assumed.
|
``http://`` is assumed.
|
||||||
|
|
||||||
@@ -549,6 +550,46 @@ Description
|
|||||||
browser would use HTTP/2.
|
browser would use HTTP/2.
|
||||||
|
|
||||||
|
|
||||||
|
extractor.*.headers
|
||||||
|
-------------------
|
||||||
|
Type
|
||||||
|
``object`` (`name` -> `value`)
|
||||||
|
Default
|
||||||
|
.. code:: json
|
||||||
|
|
||||||
|
{
|
||||||
|
"User-Agent" : "<extractor.*.user-agent>",
|
||||||
|
"Accept" : "*/*",
|
||||||
|
"Accept-Language": "en-US,en;q=0.5",
|
||||||
|
"Accept-Encoding": "gzip, deflate"
|
||||||
|
}
|
||||||
|
|
||||||
|
Description
|
||||||
|
Additional `HTTP headers <https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers>`__
|
||||||
|
to be sent with each HTTP request,
|
||||||
|
|
||||||
|
To disable sending a header, set its value to ``null``.
|
||||||
|
|
||||||
|
|
||||||
|
extractor.*.ciphers
|
||||||
|
-------------------
|
||||||
|
Type
|
||||||
|
``list`` of ``strings``
|
||||||
|
Example
|
||||||
|
.. code:: json
|
||||||
|
|
||||||
|
["ECDHE-ECDSA-AES128-GCM-SHA256",
|
||||||
|
"ECDHE-RSA-AES128-GCM-SHA256",
|
||||||
|
"ECDHE-ECDSA-CHACHA20-POLY1305",
|
||||||
|
"ECDHE-RSA-CHACHA20-POLY1305"]
|
||||||
|
|
||||||
|
Description
|
||||||
|
List of TLS/SSL cipher suites in
|
||||||
|
`OpenSSL cipher list format <https://www.openssl.org/docs/manmaster/man1/openssl-ciphers.html>`__
|
||||||
|
to be passed to
|
||||||
|
`ssl.SSLContext.set_ciphers() <https://docs.python.org/3/library/ssl.html#ssl.SSLContext.set_ciphers>`__
|
||||||
|
|
||||||
|
|
||||||
extractor.*.keywords
|
extractor.*.keywords
|
||||||
--------------------
|
--------------------
|
||||||
Type
|
Type
|
||||||
|
|||||||
Reference in New Issue
Block a user