ucsdscheduleplanner / UCSD-Schedule-Planner

A project to help UCSD students plan their schedules quickly and easily.
https://sdschedule.com/
MIT License
7 stars 2 forks source link

#38: Finish CAPES scraping & parsing #64

Closed dmhacker closed 5 years ago

dmhacker commented 5 years ago

It's finally done.

Scraping:

Parsing:

Exporting:

To see the CAPES_DATA table, just SSH into the MySQL database container and run mysql -u root -p classes and enter in the correct password. Then, run SELECT * FROM CAPES_DATA ... everything should be there.

I've also cleaned up some of the other scrapers and settings by renaming some important environment variables. Additionally, there was a lot of os.chdiring because it looks like relative file names were previously being used (NOT GOOD). I've removed all of these unnecessary stateful calls because they can only screw with logic down the line.