def url_leaf(path: str) ->str:
    """ return the 'leaf' of a slash or hash-separated URL
    :param path: url
    :return:
    """
    return path.split('#')[-1] if '#' in path else path.split('/')[-1]
