[vimeo] Improve _VALID_URL (Closes #9229)
authorSergey M․ <dstftw@gmail.com>
Mon, 18 Apr 2016 15:40:28 +0000 (21:40 +0600)
committerSergey M․ <dstftw@gmail.com>
Mon, 18 Apr 2016 15:40:28 +0000 (21:40 +0600)
youtube_dl/extractor/vimeo.py

index 707a5735ad5463fec1d6996db4fd0b381a9205bf..a4833a8584b05e65c0058b6212fc3e30fdb16c4a 100644 (file)
@@ -81,7 +81,7 @@ class VimeoIE(VimeoBaseInfoExtractor):
                             \.
                         )?
                         vimeo(?P<pro>pro)?\.com/
-                        (?!channels/[^/?#]+/?(?:$|[?#])|(?:album|ondemand)/)
+                        (?!channels/[^/?#]+/?(?:$|[?#])|[^/]+/review/|(?:album|ondemand)/)
                         (?:.*?/)?
                         (?:
                             (?:
@@ -90,6 +90,7 @@ class VimeoIE(VimeoBaseInfoExtractor):
                             )?
                         (?:videos?/)?
                         (?P<id>[0-9]+)
+                        (?:/[\da-f]+)?
                         /?(?:[?&].*)?(?:[#].*)?$
                     '''
     IE_NAME = 'vimeo'
@@ -232,6 +233,10 @@ class VimeoIE(VimeoBaseInfoExtractor):
             'url': 'https://vimeo.com/7809605',
             'only_matching': True,
         },
+        {
+            'url': 'https://vimeo.com/160743502/abd0e13fb4',
+            'only_matching': True,
+        }
     ]
 
     @staticmethod