[vimeo:group] Improve _VALID_URL (Closes #7552)

This commit is contained in:
Sergey M․ 2015-11-19 22:30:58 +06:00
parent 2c94198eb6
commit fdb20a27a3

View file

@ -567,7 +567,7 @@ def _real_extract(self, url):
class VimeoGroupsIE(VimeoAlbumIE):
IE_NAME = 'vimeo:group'
_VALID_URL = r'https://vimeo\.com/groups/(?P<name>[^/]+)'
_VALID_URL = r'https://vimeo\.com/groups/(?P<name>[^/]+)(?:/(?!videos?/\d+)|$)'
_TESTS = [{
'url': 'https://vimeo.com/groups/rolexawards',
'info_dict': {