From d85448f3bb5ddc35237cbfc8378c94928b682afa Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rog=C3=A9rio=20Brito?= Date: Fri, 24 Feb 2012 07:12:21 -0200 Subject: [PATCH] VimeoIE: Allow matches taken from embedded videos. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- youtube-dl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): -- 2.39.5