def vimeo(link):
 pattern = 'https?:\\/\\/vimeo\\.com\\/([\\d]+)'
 match = re.match(pattern, link)
 if (not match):
  return None
 return ('https://player.vimeo.com/video/%s' % match.group(1))

def vimeo ( link ) : pattern = 'https?:\\/\\/vimeo\\.com\\/([\\d]+)' match = re . match ( pattern , link ) if ( not match ) : return None return ( 'https://player.vimeo.com/video/%s' % match . group ( 1 ) )
find vimeo player url .