diff --git a/scrapers/package.py b/scrapers/package.py index 9b28e77..f2f6b91 100644 --- a/scrapers/package.py +++ b/scrapers/package.py @@ -8,14 +8,55 @@ import utils OVERRIDES = { - "2.00B": { - "b": [], - "tb": True - } + "8.01": { + "lectureRawSections": [ + "26-152/MW/0/9-10.30/F/0/9", + "26-152/MW/0/10.30-12/F/0/11", + "26-152/MW/0/1-2.30/F/0/1", + "26-152/MW/0/3-4.30/F/0/3", + "26-152/TR/0/9-10.30/F/0/10", + "26-152/TR/0/11-12.30/F/0/12", + "26-152/TR/0/3-4.30/F/0/4" + ], + "lectureSections": [ + [ + [[2, 3], [62, 3], [122, 2]], + "26-152" + ], + [ + [[5, 3], [65, 3], [126, 2]], + "26-152" + ], + [ + [[10, 3], [70, 3], [130, 2]], + "26-152" + ], + [ + [[14, 3], [74, 3], [134, 2]], + "26-152" + ], + [ + [[32, 3], [92, 3], [124, 2]], + "26-152" + ], + [ + [[36, 3], [96, 3], [128, 2]], + "26-152" + ], + [ + [[44, 3], [104, 3], [136, 2]], + "26-152" + ] + ], + }, + # "2.00B": { + # "b": [], + # "tb": True, + # }, # "22.05": { # "l": [[[[33, 3], [93, 3]], "24-121"]], # "r": [[[[124, 2]], "24-121"]], - # } + # }, } @@ -38,7 +79,7 @@ def run(): courses[course].update(info) term_info = utils.get_term_info() - now = datetime.datetime.now().strftime("%Y-%m-%d %H:%M") + now = datetime.datetime.now().strftime("%Y-%m-%d %H:%M") obj = { "termInfo": term_info, "lastUpdated": now,