add 'ciphers' option; update default User-Agent

This commit is contained in:
Mike Fährmann
2019-07-18 20:06:21 +02:00
parent 84f4d3bc0b
commit 21991acc49
3 changed files with 50 additions and 24 deletions

View File

@@ -217,7 +217,7 @@ extractor.*.user-agent
----------------------
=========== =====
Type ``string``
Default ``"Mozilla/5.0 (X11; Linux x86_64; rv:62.0) Gecko/20100101 Firefox/62.0"``
Default ``"Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0"``
Description User-Agent header value to be used for HTTP requests.
Note: This option has no effect on `pixiv` and
@@ -1457,6 +1457,19 @@ Description Path of the SQLite3 database used to cache login sessions,
=========== =====
ciphers
-------
=========== =====
Type ``bool`` or ``string``
Default ``true``
Description * ``true``: Update urllib3's default cipher list
* ``false``: Leave the default cipher list as is
* Any ``string``: Replace urllib3's default ciphers with these
(See `SSLContext.set_ciphers() <https://docs.python.org/3/library/ssl.html#ssl.SSLContext.set_ciphers>`__
for details)
=========== =====
API Tokens & IDs
================

View File

@@ -8,7 +8,7 @@
"proxy": null,
"skip": true,
"sleep": 0,
"user-agent": "Mozilla/5.0 (X11; Linux x86_64; rv:62.0) Gecko/20100101 Firefox/62.0",
"user-agent": "Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0",
"artstation":
{