support using system certificates via 'truststore' (#6582)

https://github.com/mikf/gallery-dl/issues/6582#issuecomment-2989290495
This commit is contained in:
Mike Fährmann
2025-06-20 19:55:01 +02:00
parent 8a35863e86
commit b0d7de3603
6 changed files with 52 additions and 11 deletions

View File

@@ -1238,6 +1238,22 @@ Description
|requests.request()|_ method.
extractor.*.truststore
----------------------
Type
``bool``
Default
``false``
Description
| Use a
`truststore <https://truststore.readthedocs.io/en/latest/>`__
``SSLContext`` for verifying SSL/TLS certificates
| to make use of your system's native certificate stores
instead of relying on
`certifi <https://pypi.org/project/certifi/>`__
certificates.
extractor.*.download
--------------------
Type

View File

@@ -28,6 +28,7 @@
"retry-codes" : [],
"timeout" : 30.0,
"verify" : true,
"truststore" : false,
"download" : true,
"fallback" : true,