aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRogério Brito <rbrito@ime.usp.br>2012-02-24 07:12:21 -0200
committerRogério Brito <rbrito@ime.usp.br>2012-02-24 07:12:21 -0200
commitd85448f3bb5ddc35237cbfc8378c94928b682afa (patch)
tree44374242694da2b127e6004fee124f75e5cfdc3c
parent99d46e8c276c6705b2b0fee9cf4660e56ae825be (diff)
downloadyoutube-dl-d85448f3bb5ddc35237cbfc8378c94928b682afa.tar.xz
VimeoIE: Allow matches taken from embedded videos.
With this change, I can directly cut and paste URLs embedded in 3rd-party pages as `youtube-dl`'s arguments. Signed-off-by: Rogério Brito <rbrito@ime.usp.br>
-rwxr-xr-xyoutube-dl2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube-dl b/youtube-dl
index be599a2b2..63022748e 100755
--- a/youtube-dl
+++ b/youtube-dl
@@ -2014,7 +2014,7 @@ class VimeoIE(InfoExtractor):
"""Information extractor for vimeo.com."""
# _VALID_URL matches Vimeo URLs
- _VALID_URL = r'(?:https?://)?(?:(?:www|player).)?vimeo\.com/(?:groups/[^/]+/)?(?:videos?/)?([0-9]+)'
+ _VALID_URL = r'(?:https?://)?(?:(?:www|player).)?vimeo\.com/(?:groups/[^/]+/)?(?:videos?/)?(?:moogaloop.swf\?clip_id=)?([0-9]+)'
IE_NAME = u'vimeo'
def __init__(self, downloader=None):