Skip to content
This repository has been archived by the owner on Apr 24, 2024. It is now read-only.

A web scraper for scraping SLNs from UW's course time schedule to uniquely identify each UW course.

License

Notifications You must be signed in to change notification settings

huskyapi/UW-Course-SLN-Web-Scraper

Repository files navigation

Usage

Modify the variables in main.py to change which department, what years, what campus, etc is scraped.

# Default values 
SEASONS = ["AUTUMN", "WINTER", "SPRING"]
YEARS = ["2003", "2004", "2005", "2006", "2007", "2008", "2009", "2010", "2011", "2012", "2013", "2014", "2015", "2016", "2017", "2018", "2019", "2020"]
DEPARTMENT = "CSS"
CAMPUS = "Bothell"
OUTPUT_FILE = "courses.json"

Basic

poetry shell
python3 main.py

Setup

Install poetry.

Install pyenv.

Install Python 3.8.4 using pyenv.

Run the following commands:

pyenv local 3.8.4
poetry install

Development

To develop and test locally using Docker, install Docker. Then run the following commands:

docker build --target development -t huskyapi/web-scraper .
docker run -it huskyapi/web-scraper /bin/bash

About

A web scraper for scraping SLNs from UW's course time schedule to uniquely identify each UW course.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages