Skip to main content

Classutil scraper for UNSW.

Project description

classutil scraper

My attempt at a classutil. It downloads the current UNSW class allocations into a JSON file.

Installation

# optional: use virtualenv
virtualenv -p python3 venv
. venv/bin/activate

pip3 install -r requirements.txt

Run

python scrape.py output.json

The options are configurable, run with --help for more options.

Library Usage

from classutil import scrape

# Scrape data
# Arguments don't need to be specified as these are the defaults.
data = scrape(
	root="https://classutil.unsw.edu.au",
	concurrency=1,
	logging=False)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

classutil-1.0.2.tar.gz (3.6 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page