This is an application used to scrap and load course information (course code, title - "CPSC110", "Computational Thinking") onto the the CourseHub project.
This assumes you have Python installed on your machine.
- clone repository.
- go into the cloned repository
cd <repo name>. - create a virtual environment
python -m venv envorpython3 -m venv env. - run
pip install requirements.txt - run
python main.py
./data/courses.csv
This can be specified in the coursestoscrap.csv.
Create a new line and enter the coursecode(APSC160) of the course that you want to scrap
You can specify words that you want to filter out in the title in filters.csv.
For example: I don't want courses with title that contains that word 'Food'. To do so, create a new line and type in the word 'Food' (without quotes) then save.