def check_url(self, url):
    pattern = 'https?:\\/\\/(?:www\\.|player\\.)?vimeo.com\\/(?:channels\\/(?:\\w+\\/)?|groups\\/(?:[^\\/]*)\\/videos\\/|album\\/(?:\\d+)\\/video\\/|video\\/|)(\\d+)(?:$|\\/|\\?)'
    match = re.search(pattern, url, re.IGNORECASE)
    if match:
        return match.group(1)
    else:
        return None
def check_url(self, url):
    pattern = 'https?:\\/\\/(?:www\\.|player\\.)?vimeo.com\\/(?:channels\\/(?:\\w+\\/)?|groups\\/(?:[^\\/]*)\\/videos\\/|album\\/(?:\\d+)\\/video\\/|video\\/|)(\\d+)(?:$|\\/|\\?)'
    match = re.search(pattern, url, re.IGNORECASE)
    if match:
        return match.group(1)
    else:
        return None