diff --git a/docs/configuration.rst b/docs/configuration.rst index c71e1e04..9f05d891 100644 --- a/docs/configuration.rst +++ b/docs/configuration.rst @@ -470,8 +470,19 @@ extractor.*.proxy Type * ``string`` * ``object`` (`scheme` -> `proxy`) -Default - ``null`` +Example + .. 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 Proxy (or proxies) to be used for remote connections. @@ -483,16 +494,6 @@ Description ``scheme://host`` as key. 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, ``http://`` is assumed. @@ -549,6 +550,46 @@ Description browser would use HTTP/2. +extractor.*.headers +------------------- +Type + ``object`` (`name` -> `value`) +Default + .. code:: json + + { + "User-Agent" : "", + "Accept" : "*/*", + "Accept-Language": "en-US,en;q=0.5", + "Accept-Encoding": "gzip, deflate" + } + +Description + Additional `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 `__ + to be passed to + `ssl.SSLContext.set_ciphers() `__ + + extractor.*.keywords -------------------- Type