From af3f81c7d94c95f04b034ffb5620039183eb2fa6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Sun, 7 Oct 2018 21:46:00 +0200 Subject: [PATCH] add '--no-check-certificate' command-line option --- gallery_dl/option.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gallery_dl/option.py b/gallery_dl/option.py index da38945e..ff6f2776 100644 --- a/gallery_dl/option.py +++ b/gallery_dl/option.py @@ -169,6 +169,11 @@ def build_parser(): action=ConfigConstAction, nargs=0, dest="part", const=False, help="Do not use .part files", ) + downloader.add_argument( + "--no-check-certificate", + action=ConfigConstAction, nargs=0, dest="verify", const=False, + help="Disable HTTPS certificate validation", + ) downloader.add_argument( "--abort-on-skip", action=ConfigConstAction, nargs=0, dest="skip", const="abort",