From 13498be55386b4db8ceb0a5d999d858bed2f3a39 Mon Sep 17 00:00:00 2001 From: Bhupesh-V Date: Tue, 22 Aug 2023 22:50:08 +0530 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20ignore=20ssl=20check=20while=20f?= =?UTF-8?q?etching=20feed?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- job_thread/main.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/job_thread/main.py b/job_thread/main.py index 03dd6f4..68fdac8 100644 --- a/job_thread/main.py +++ b/job_thread/main.py @@ -14,6 +14,10 @@ SECONDS_IN_WEEK = 60 * 60 * 24 * 7 # Date Month, Year STRFTIME_FORMAT = "%d %B, %Y" +import ssl +if hasattr(ssl, '_create_unverified_context'): + ssl._create_default_https_context = ssl._create_unverified_context + class Config: DB_PATH = "db.json" SUBREDDIT = "developersindia"