diff --git a/convert.py b/convert.py index 9ffb81c..728ea11 100644 --- a/convert.py +++ b/convert.py @@ -53,7 +53,8 @@ 'Cogswell Laboratory': 'Cogswell', 'West Hall': 'West', 'Biotechnology and Interdis Bld': 'CBIS', - 'Materials Research Center': 'MRC' + 'Materials Research Center': 'MRC', + 'Winslow Building': 'Winslow' } expanded = {v: k for k, v in abbrev.items()} @@ -73,7 +74,7 @@ if int(sem['name'][-2:]) <= month: #TODO: precise sem cutoffs curSem = sem['url'] break - +print(curSem) content = get(curSem).json() courses = get(content[1]['download_url']).json()