From: Rogério Brito Date: Fri, 24 Feb 2012 09:12:21 +0000 (-0200) Subject: VimeoIE: Allow matches taken from embedded videos. X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=d85448f3bb5ddc35237cbfc8378c94928b682afa;p=youtube-dl 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 --- 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):