def remove_scheme(url):
    """
    Args:
        url (str): url which may or may not contain scheme or ending slash
    Returns:
        str: url without scheme and without ending slash
    """
    url = url.replace('https://', '')
    url = url.replace('http://', '')
    url = url.rstrip('/')
    return url