-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Current implementations of CourseOfferingScraper and the constructor for SectionInfo are rather forced, with hard-coded array indices and haphazard String array sizes (i.e., uncertainty which cells are null or do not contain legitimate values). So, in future versions, it might be better to look into better and more elegant methods of scraping.
A possible fix is to scrape the List result from JSoup's parsing and treat it as a table, row-wise, then column-wise. Eventually, this will lead to the elimination of conditionals in the SectionInfo constructor. Also, this implementation might require deeper HTML analysis and a rewrite of coScrape(). More experimentation with JSoup methods is needed.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request