def extract_23andme_data(soup, website_root):
    """
    Scrap a pgp-hms genomics web page of 23andMe data for the URLs to download
    :param soup: the object representing the web page we are scraping
    :param website_root: a protocol and hostname that will be prepended to each URL
    :return file_names, urls: a tuple of dictionaries providing URLS to download
            and the desired local name for each file downloaded
    """
    file_names = {}
    urls = {}

    for row in soup.findAll('tr'):
        # find each table cell in this row
        aux = row.findAll('td')
        if len(aux) > 0:
            subject = aux[1].a.contents[0]
            file_names[subject] = subject
            url = website_root + aux[6].find('a').get('href')
            urls[subject] = url
    return urls, file_names