import re


def get_image_name(url: str) -> str:
    """
    获取图片名称
    :param url: 图片链接
    :return: 图片名称
    >>> get_image_name('http://fm.shiyunjj.com/2018/1562/5idk.jpg')
    '5idk.jpg'
    """
    return re.split(r'/', url)[-1]