ucsb-cs56-projects / cs56-scrapers-ucsb-curriculum

-
1 stars 12 forks source link

Refactor parseSection and parseLecture #63

Open nathan-inge opened 6 years ago

nathan-inge commented 6 years ago

Within UCSBSearchCurriculum.java we removed all the old substring methods that were left over from our previous refactor. Then, following the suggestion of the software engineer from TheTradeDesk that we worked with, we refactored parseSection and parseLecture to just use JSOUP to parse the individual course row tags.

This allows us to limit our use of substring to very small, specific strings, making the parsing more reliable and safer.

CDLlo commented 6 years ago

W18 OK 200 points