import requests


def emoji_get_url_data(emoji_url: str) -> str:
    """
    This function request emoji data url and waiting raise for status.
    If status ok returning data text for further processing.

    :param emoji_url: link to emoticons
    :type emoji_url: str
    :return: html code as string text
    :rtype: str
    :usage: assigning function calling to a variable

        .. code:: python

            emoji_url_data = emoji_get_url_data(emoji_lis_url)

    .. note::
        This function only I used for request data in function
        `emoji_clean_url_data <#function-emoji-clean-url-data>`_
    """
    url = str(emoji_url)
    res = requests.get(url)
    res.raise_for_status()
    emoji_url_data = res.text

    return emoji_url_data