def get_column(response, column_name):
    """
    Return a list of BeautifulSoup <td> Tag for a given column name.
    """
    # Tricky way of getting the number of the expected column in the table.
    col_number = next(
        (i for i, tag in enumerate(response.html.thead.tr.find_all('th')) if column_name in str(tag)),
        None
    )

    lines = response.html.tbody.find_all('tr')

    return [line.find_all('td')[col_number] for line in lines]