From b0dbd2e3f86f878299b505d7d00639b6917a97ea Mon Sep 17 00:00:00 2001 From: Jesse Zong Date: Fri, 30 Aug 2024 18:01:45 -0400 Subject: [PATCH] Lint --- .../penndata/management/commands/get_college_house_events.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/penndata/management/commands/get_college_house_events.py b/backend/penndata/management/commands/get_college_house_events.py index 488bb8cf..cff5ac9d 100644 --- a/backend/penndata/management/commands/get_college_house_events.py +++ b/backend/penndata/management/commands/get_college_house_events.py @@ -41,7 +41,7 @@ def handle(self, *args, **kwargs): def scrape_details(self, event_url): try: - resp = requests.get(event_url) + resp = requests.get(event_url, verify=False) except ConnectionError: print("Error:", ConnectionError) return None @@ -86,7 +86,7 @@ def scrape_details(self, event_url): def scrape_calendar_page(self, calendar_url, event_type): try: - resp = requests.get(calendar_url) + resp = requests.get(calendar_url, verify=False) except ConnectionError: print("Error:", ConnectionError) return