url_patterns = [
    ("video", r"bilibili\.com/video/([a-zA-Z0-9]+)"),
    ("bangumi", r"bilibili\.com/bangumi/(play|media)/(ss\d+|ep\d+|md\d+)"),
    ("cheese", r"bilibili\.com/cheese/play/(ss\d+|ep\d+)"),
    #("live", r"live\.bilibili\.com/(\d+)"),
    ("list", r"space\.bilibili\.com/(\d+)/lists"),
    ("favlist", r"space\.bilibili\.com/(\d+)/favlist"),
    ("favlist", r"www.bilibili\.com/list/ml(\d+)"),
    ("space", r"space\.bilibili\.com/(\d+)"),
    ("space", r"www\.bilibili\.com/medialist/play/(\d+)"),
    ("list", r"bilibili\.com/list/(\d+)"),
    ("popular", r"bilibili\.com/v/popular"),
    ("b23", r"(b23\.tv|bili2233\.cn)"),
    ("video", r"(BV[a-zA-Z0-9]+|av[0-9]+)"),
    ("bangumi", r"(ep[0-9]+|ss[0-9]+)|md[0-9]+")
]
