Spider that performs search queries by faculty name on the UBC Faculty Directory.
Returns position, department and gender on console.
To change names to search, modify array NAMES
in spider.py
. Assumes names are in lastname firstname middlename
order.
- Git clone repository.
- Navigate into repository and create venv:
pyvenv venv
- Activate venv:
source venv/bin/activate
- Install dependencies:
pip install -r requirements.txt
- To run spider:
python3 spider.py