Skip to content

Academic calendar url#161

Open
bvaic wants to merge 5 commits intodevelopfrom
academic-calendar-url
Open

Academic calendar url#161
bvaic wants to merge 5 commits intodevelopfrom
academic-calendar-url

Conversation

@bvaic
Copy link
Copy Markdown
Contributor

@bvaic bvaic commented Apr 16, 2026

  • URL field added to academic calendar
  • bugfix: past calendar selector for the scraper fixed

Fixes: #158

bvaic added 4 commits April 14, 2026 23:28
* if no search index exists in mongo, one is created
* if the fields of the existing search index in mongo do not match the current model, the existing search index is updated
* the academic calendars are now uploaded with an additional url field containing the box url for the calendar
* bugfix: fixed past selector so that the links are extracted correctly and completely

Co-authored-by: SuchDominion shijiand2022@gmail.com
@bvaic bvaic requested a review from mikehquan19 April 16, 2026 06:50
@bvaic
Copy link
Copy Markdown
Contributor Author

bvaic commented Apr 16, 2026

The bug with the past selector was that it was simply a duplicate of the future selector. Now, the past selector selects all the links in both div elements for the past section. This fix resolves the issue that we were having with duplicate links in the csv in the scraping phase which led to duplicates in the json in the parsing stage. Now, all the calendars should be there.

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.

Add URL to Academic Calendar schema

1 participant