From b4e8a3aa39ab6c10380c60aea5784093076515e6 Mon Sep 17 00:00:00 2001 From: Ammaar Alam Date: Thu, 30 Apr 2026 14:25:12 -0400 Subject: [PATCH] (bug) trust registrar ca bundle --- tigerpath/scraper/scrape_registrar.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tigerpath/scraper/scrape_registrar.py b/tigerpath/scraper/scrape_registrar.py index 4714a2cb..2bd6db6e 100644 --- a/tigerpath/scraper/scrape_registrar.py +++ b/tigerpath/scraper/scrape_registrar.py @@ -11,6 +11,7 @@ from concurrent.futures import ThreadPoolExecutor import cloudscraper +import certifi import requests _REGISTRAR_PAGE_URL = "https://registrar.princeton.edu/course-offerings" @@ -32,6 +33,7 @@ def _fetch_registrar_page(): _REGISTRAR_PAGE_URL, headers={"User-Agent": _USER_AGENT}, timeout=30, + verify=certifi.where(), ) resp.raise_for_status() html = resp.text