Skip to content

A feature-rich command-line audio/video downloader

vimeo: Tweak the regexp to allow some extended URLs from vimeo.

Rogério Brito44c636df8966
diff --git a/youtube-dl b/youtube-dl
index 17fb82da70..f3d7a3f61f 100755
--- a/youtube-dl
+++ b/youtube-dl
@@ -1724,7 +1724,7 @@ class VimeoIE(InfoExtractor):
"""Information extractor for vimeo.com."""
# _VALID_URL matches Vimeo URLs
- _VALID_URL = r'(?:https?://)?(?:(?:www|player).)?vimeo\.com/(?:video/)?([0-9]+)'
+ _VALID_URL = r'(?:https?://)?(?:(?:www|player).)?vimeo\.com/(?:groups/[^/]+/)?(?:videos?/)?([0-9]+)'
def __init__(self, downloader=None):
InfoExtractor.__init__(self, downloader)