uoft-scrapers
uoft-scrapers copied to clipboard
UTM timetable scraper
trafficstars
The UTM timetable needs a scraper. It should fill up as much of the course schema for each course as it possibly can:
{
id: String,
code: String,
name: String,
description: String,
division: String,
department: String,
prerequisites: String,
exclusions: String,
level: Number,
campus: String,
term: String,
breadths: [Number],
meeting_sections: [{
code: String,
instructors: [String],
times: [{
day: String,
start: Number,
end: Number,
duration: Number,
location: String
}],
size: Number,
enrolment: Number
}]
}
So UTM has a set of mobile websites for a lot of cool stuff. Here's UTM courses: https://m.utm.utoronto.ca/timetable.php
Working on this over at purnimamehta/uoft-scrapers - although I'm using this site to scrape course information instead of the host site. The host site's source code is a little iffy to navigate to acquire the HTML file of course information.