from bs4 import BeautifulSoup


def get_first_result(orphanet_search):
    """
    Returns the HTML link for the first result of a search
    """
    soup = BeautifulSoup(orphanet_search, 'html.parser')
    first = soup.find_all('div', class_="blockResults")
    if not first:
        return ''
    else:
        return first[0].a.get('href')+"\t"+first[0].a.getText()