import json


def get_course_urls(dept): 
    """ 
    Returns a list of all the course urls in the given department
    """
    with open(f"data\{dept}_dict.json", 'r') as fp:
        dept_dict = json.load(fp)
        dept_urls = [k['url'] for k in list(dept_dict.values())]
        return dept_urls