def download(year, semester):
    data = Data()
    data.all_courses = get_courses(year, semester)
    data.save()