Support wikis that have an incorrectly configured DH key (#224)

This makes the tool work on https://kol.coldfront.net/thekolwiki, for
example
pull/409/head
Samuel Gaus 6 months ago committed by GitHub
parent db2edb0a35
commit 65e9d84d4d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -230,6 +230,7 @@ def getParameters(params=None) -> Tuple[Config, Dict]:
if args.insecure:
session.verify = False
requests.packages.urllib3.disable_warnings()
requests.packages.urllib3.util.ssl_.DEFAULT_CIPHERS = 'ALL:@SECLEVEL=1'
print("WARNING: SSL certificate verification disabled")
# Custom session retry

Loading…
Cancel
Save