def std_url(url):
    """
    Standardizes urls by removing protocoll and final slash.
    """
    if url:
        url = url.split("//")[-1]
        if url.endswith("/"):
            url = url[:len(url)-1]
    return url