Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add web column to WebSoc #82

Merged
merged 8 commits into from
Jan 14, 2025
Merged

feat: add web column to WebSoc #82

merged 8 commits into from
Jan 14, 2025

Conversation

ecxyzzy
Copy link
Member

@ecxyzzy ecxyzzy commented Jan 13, 2025

Description

Modified libwebsoc-next to support fetching the Web column, which links to the section's syllabus page, and is realized as the webURL field in the WebsocSection object.

Because this column is not reflected in the XML response, which libwebsoc-next parses into JSON, the module also fetches the web version concurrently with the XML version.

As a result, the timeouts after WebSoc query invocations in the scraper have been doubled.

Related Issue

Closes #41.

Motivation and Context

Unblocks icssc/AntAlmanac#1113.

How Has This Been Tested?

Tested locally due to schema changes. Database dump available here.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code involves a change to the database schema.
  • My code requires a change to the documentation.

@ecxyzzy ecxyzzy requested a review from andrew-wang0 January 13, 2025 22:40
@ecxyzzy ecxyzzy temporarily deployed to staging-82 January 13, 2025 22:40 — with GitHub Actions Inactive
@ecxyzzy ecxyzzy temporarily deployed to staging-82 January 13, 2025 22:41 — with GitHub Actions Inactive
@andrew-wang0 andrew-wang0 temporarily deployed to staging-82 January 14, 2025 17:45 — with GitHub Actions Inactive
@andrew-wang0 andrew-wang0 temporarily deployed to staging-82 January 14, 2025 17:59 — with GitHub Actions Inactive
Copy link
Member

@andrew-wang0 andrew-wang0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me! 😎 👌

@ecxyzzy ecxyzzy merged commit 285e9ee into main Jan 14, 2025
1 check passed
@ecxyzzy ecxyzzy deleted the web-column branch January 14, 2025 18:06
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 support for WebSoc "Web" column
2 participants