This repo contains two Python scripts that scrape Trent University's Academic timetable and undergraduate programs webpage. The scripts are made with Selenium WebDriver. Running each script outputs a .txt file that contains the respective information.
The chromedriver installed in this repo is compatible with the mac-x64 platform. If your platform is different, delete the existing chromedriver and download a new chromedriver that fits your computer's platform from this webpage. Documentation can be found here.
pip install selenium
pip3 install selenium
python3 -m pip install selenium
python3 degree_names.py
This script creates a programs.txt file containing an updated list of all degree programs offered at Trent.
python3 main.py currentYear
example:
python3 main.py 2024
This script creates two .txt files: courses.txt and faculty.txt. courses.txt contains a list of all courses offered throughout the current academic year in each department. faculty.txt contains a list of all the professors in each department.