Skip to content

cse-revue/lecture-bash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

UNSW Lecture Bash Script

Dependencies

  • php

Usage

./getClasses.php min_size #semester year

Results go to stdout, progress goes to stderr. For example, to get a list of classes with at least 100 people in semester 2 of 2014, and store the output in output.csv, run:

./getClasses.php 100 2 2014 > output.csv

The script will output a csv table which can be imported into any spreadsheet software (MS Excel, Google Sheets, Open Office Spreadsheet, etc). Note that values in the output are separated by semicolons (;) rather than commas as some course titles have commas in them. Make sure you specify this when importing or it probably won't be correctly formatted.

Files

  • getClasses.php: the main script that scrapes UNSW handbook
  • match.txt: a large regular expression that recognizes the relevant parts of the page
  • README.markdown: this file

About

Find which lectures at UNSW have high enrollments.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages