import csv


def load_urls(src):
    """
    Load given url file csv into memory.

    It assumes that only two columns are present. One is key, other is value.
    """
    with open(src) as f_h:
        data = csv.reader(f_h, delimiter=",")
        return dict((int(row[0]), row[1]) for row in data)