uoft-scrapers icon indicating copy to clipboard operation
uoft-scrapers copied to clipboard

UTM timetable scraper

Open qasim opened this issue 10 years ago • 2 comments
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
  }]
}

qasim avatar Apr 17 '15 17:04 qasim

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

qasim avatar Apr 12 '16 03:04 qasim

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.

purnimamehta avatar Apr 12 '16 03:04 purnimamehta