From 3c0fce7319f4e4ae076527eb98e6164210bdb34c Mon Sep 17 00:00:00 2001 From: Yuval Adam <_@yuv.al> Date: Sun, 21 Aug 2022 15:08:57 +0300 Subject: Do not verify SSL certs --- cron/handler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cron/handler.py') diff --git a/cron/handler.py b/cron/handler.py index 3652880..a4ea1f3 100644 --- a/cron/handler.py +++ b/cron/handler.py @@ -25,7 +25,7 @@ class GeshemUpdate(): self.session.auth = HttpNtlmAuth(*self.NTLM_AUTH) def get_latest_images(self): - imgres = self.session.get(self.BASE_URL) + imgres = self.session.get(self.BASE_URL, verify=False) imgs = list(set(re.findall(r"radar280comp_\d+.png", imgres.text))) return sorted(imgs)[-10:] -- cgit v1.3.1