def get_urls(htmlDoc, limit=200):
    '''takes in html document as string, returns links to dots'''
    soup = BeautifulSoup( htmlDoc )
    anchors = soup.findAll( 'a' )
    urls = {}

    counter = 0
    for i,v in enumerate( anchors ):

        href = anchors[i].get( 'href' )

        if ('dots' in href and counter < limit):
            href = href.split('/')[2]
            text = anchors[i].text.split(' ')[0].replace('/', '_')
            urls[ text ] = href
            counter += 1

    return urls
takes in html document as string, returns links to dots