import re


def get_id(url):
    """
    Extract the Vimeo ID from a Vimeo URL.

    Args:
        * `url` - `string` - The URL to pull the ID from
    Returns:
        * A `string` if successful or `None` if not
    """
    if "vimeo" in url:
        match = re.search(r'(?:http:\/\/|https:\/\/)?(?:player\.|www\.)?vimeo\.com\/(?:groups\/(?:[A-Za-z0-9]*)\/videos\/|channels\/(?:[A-Za-z0-9]*)\/|video\/)?([0-9]{8,})', url)
        if match:
            return match.group(1)
    return None

