def get_external_url(data):
    """Retrieve external URL from given Netskope data object.

    :param data: JSON object retrieved from Netskope
    :return: Extracted external URL
    """
    external_url = data.get("url")
    if external_url and not (
        external_url.startswith("http://")
        or external_url.startswith("https://")
    ):
        external_url = "http://" + external_url
    return external_url