import requests


def get_earnings_html(url_ratings: str) -> str:
    """
    Parameters
    ----------
    url_ratings : str
        Ratings URL

    Returns
    -------
    str
        HTML page of earnings
    """
    ratings_html = requests.get(
        url_ratings, headers={"User-Agent": "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.10; rv:86.1) "
                                            "Gecko/20100101 Firefox/86.1"}
    ).text

    return ratings_html