def get_id(xkcd_link: str) -> int:
    '\n    Exctract comic id from xkcd link\n    '
    match = re.search('\\d+', xkcd_link)
    if match:
        return int(match.group())
    else:
        return 0
Exctract comic id from xkcd link
def get_id(xkcd_link: str) -> int:
    '\n    \n    '
    match = re.search('\\d+', xkcd_link)
    if match:
        return int(match.group())
    else:
        return 0