def get_course_data(semester, username, password): schedules = parse_schedules(semester) try: fces = parse_fces(username, password) except Exception: fces = [] print('Something went wrong. Running without FCEs for now...') return aggregate(schedules, fces)
def get_course_data(semester): schedules = parse_schedules(semester) return aggregate(schedules)
def get_course_data(semester, username, password): descs = parse_descs(SOURCES) schedules = parse_schedules(semester) fces = parse_fces(username, password) return aggregate(descs, schedules, fces)