From cb4e4c3f7281292f3871b8f65e01690f8e8a64a8 Mon Sep 17 00:00:00 2001 From: Jose Gomez-Dans Date: Tue, 30 Aug 2022 17:15:14 +0100 Subject: [PATCH] Added https proxy --- get_modis.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/get_modis.py b/get_modis.py index d5527ed..180a2e1 100755 --- a/get_modis.py +++ b/get_modis.py @@ -329,7 +329,9 @@ def get_modisfiles(username, password, platform, product, year, tile, proxy, LOG.fatal("`platform` has to be one of MOLA, MOTA, MOLT") sys.exit(-1) if options.proxy is not None: - PROXY = {'http': options.proxy} + PROXY = {'http': options.proxy, + 'https': options.proxy + } else: PROXY = None