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

Fix scraper for 2025T1 #19

Open
wants to merge 13 commits into
base: main
Choose a base branch
from
Open

Fix scraper for 2025T1 #19

wants to merge 13 commits into from

Conversation

lhvy
Copy link
Collaborator

@lhvy lhvy commented Dec 22, 2024

  • Fix bug where courses are included in all visible careers for a given subject area
  • Re-scrape data for 2025T1

@lhvy lhvy added bug Something isn't working enhancement New feature or request labels Dec 22, 2024
@lhvy lhvy requested a review from Rayahhhmed December 22, 2024 14:02
@lhvy lhvy self-assigned this Dec 22, 2024
.expect("Expected career to be inside td element")
.next_sibling()
.expect("Expected career classes td element to come after careers")
.next_sibling()
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I don't understand why I need two calls to next_sibling here. The middle element seems to be just a couple new lines when I debug print .value(). I've attached the HTML, maybe someone else can work out what is going on here.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants