summary refs log tree commit diff
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2013-10-28 11:32:22 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2013-10-28 11:32:22 +0100
commit1003d108d51b7eb5edb84778ec234b217d72d4a5 (patch)
tree5e0c661c5f46a770a8e9c1bd138c068a5573b9f0
parent8abeeb94490e7066826ac086554be935a0c1dd94 (diff)
downloadyoutube-dl-1003d108d51b7eb5edb84778ec234b217d72d4a5.tar.gz
youtube-dl-1003d108d51b7eb5edb84778ec234b217d72d4a5.tar.xz
youtube-dl-1003d108d51b7eb5edb84778ec234b217d72d4a5.zip
[vimeo] Support hash in URL (Fixes #1669)
-rw-r--r--youtube_dl/extractor/vimeo.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube_dl/extractor/vimeo.py b/youtube_dl/extractor/vimeo.py
index ef90fecc0..b4dbcd2ee 100644
--- a/youtube_dl/extractor/vimeo.py
+++ b/youtube_dl/extractor/vimeo.py
@@ -20,12 +20,12 @@ class VimeoIE(InfoExtractor):
     """Information extractor for vimeo.com."""
 
     # _VALID_URL matches Vimeo URLs
-    _VALID_URL = r'(?P<proto>https?://)?(?:(?:www|player)\.)?vimeo(?P<pro>pro)?\.com/(?:(?:(?:groups|album)/[^/]+)|(?:.*?)/)?(?P<direct_link>play_redirect_hls\?clip_id=)?(?:videos?/)?(?P<id>[0-9]+)/?(?:[?].*)?$'
+    _VALID_URL = r'(?P<proto>https?://)?(?:(?:www|player)\.)?vimeo(?P<pro>pro)?\.com/(?:(?:(?:groups|album)/[^/]+)|(?:.*?)/)?(?P<direct_link>play_redirect_hls\?clip_id=)?(?:videos?/)?(?P<id>[0-9]+)/?(?:[?].*)?(?:#.*)?$'
     _NETRC_MACHINE = 'vimeo'
     IE_NAME = u'vimeo'
     _TESTS = [
         {
-            u'url': u'http://vimeo.com/56015672',
+            u'url': u'http://vimeo.com/56015672#at=0',
             u'file': u'56015672.mp4',
             u'md5': u'ae7a1d8b183758a0506b0622f37dfa14',
             u'info_dict': {