Skip to content

TIG-209-TigerPath-EGR-Course-Sliding-Window#517

Closed
rohanmatta11 wants to merge 8 commits intomasterfrom
TIG-209-TigerPath-EGR-CourseSlidingWindow
Closed

TIG-209-TigerPath-EGR-Course-Sliding-Window#517
rohanmatta11 wants to merge 8 commits intomasterfrom
TIG-209-TigerPath-EGR-CourseSlidingWindow

Conversation

@rohanmatta11
Copy link
Copy Markdown
Contributor

TIG-209.Course.Sliding.Window.Demo.mov

Created a sliding window from the right containing basic PrincetonCourses information. Also added ratings to the search results.

@rohanmatta11 rohanmatta11 requested a review from angelina-ji April 4, 2026 01:02
@linear
Copy link
Copy Markdown

linear bot commented Apr 4, 2026

angelina-ji and others added 4 commits April 7, 2026 11:59
The OIT MobileApp API (error 900908 unauthorized) has been replaced
with the Princeton registrar front-end API, which requires no OIT
subscription and is publicly accessible via Bearer token.

- scrape_registrar.py: use cloudscraper to bypass Cloudflare and
  extract apiToken and apiBaseUrl from registrar.princeton.edu;
  add get_course_ids_for_term() via /classes/{term} endpoint;
  add get_full_course_details() returning all course fields in one call
- scrape_parse.py: remove MobileApp dependency entirely; derive
  semester dates from term code; use registrar API in parallel
- scrape_all.py: warn and skip instead of crashing on 0-course terms
  (historical terms 1214-1234 are not in the registrar API)
- requirements.txt: add cloudscraper==1.2.71

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@angelina-ji angelina-ji closed this Apr 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants