import csv


def read_links(path_to_csv, index):
    """
    reads csv file for project links

    :param path_to_csv: path to the csv file
    :param index: index to keep data from
    :return: list of parsed data
    """
    link_list = []
    skip = True  # to skip the column headings
    with open(path_to_csv, "r") as data_file:
        parsed_data = csv.reader(data_file, delimiter=",")
        for row in parsed_data:
            if skip:
                skip = False
                continue
            link_list.append(row[index])
    return link_list