'This member function parses the html document and extracts the
cells from the table.'

def parse_contents(self, soup):

    data = []
    table = soup.find('table', attrs={'id': 'packages'})
    table_body = table.find('tbody')
    rows = table_body.find_all('tr')
    '\n                                This    section    aims    to    extract    the    individual    data    points    from    the\n                                table    and    turn    them    into    a    list.    For    each    of    the    columns    found    in\n                                <td>    tags,    we    return    them    in    a    list,    while    finding    one    link.\n                                We    then    preprocess    the    contents    by    stripping    whitespace    and\n                                stripping    the    front    of    the    relative    link.    Once    this    preprocessing\n                                has    been    done,    we    connect    the    URL,    and    append    it    to    the    list.\n                                '
    for row in rows:
        cols = row.find_all('td')
        ref = row.find('a', href=True)
        cols = [ele.text.strip() for ele in cols]
        relurl = ref['href'].strip('../')
        aburl = urljoin(__TARGET__, relurl)
        cols.append(aburl)
        print cols
        data.append(cols)
    return data
