def get_fname(url) -> str:
    """
    Transforms a URL to a file name.
    """
    trash = (('http://', ''),
             ('https://', ''),
             ('/', '-'),
             (':', '-'),
             ('%', ''))

    for key, value in trash:
        url = url.replace(key, value)
    return url[0:100]