Skip to content

Commit

Permalink
added abbreviation for winslow
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsweet417 committed Sep 26, 2023
1 parent cf62319 commit 71c894a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()}
Expand All @@ -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()

Expand Down

0 comments on commit 71c894a

Please sign in to comment.