def youku(link):
 pattern = 'http:\\/\\/v\\.youku\\.com\\/v_show/id_([\\w]+)\\.html'
 match = re.match(pattern, link)
 if (not match):
  return None
 return ('http://player.youku.com/embed/%s' % match.group(1))

def youku ( link ) : pattern = 'http:\\/\\/v\\.youku\\.com\\/v_show/id_([\\w]+)\\.html' match = re . match ( pattern , link ) if ( not match ) : return None return ( 'http://player.youku.com/embed/%s' % match . group ( 1 ) )
find youku player url .