diff options
author | Rogério Brito <rbrito@ime.usp.br> | 2012-02-24 07:12:21 -0200 |
---|---|---|
committer | Rogério Brito <rbrito@ime.usp.br> | 2012-02-24 07:12:21 -0200 |
commit | d85448f3bb5ddc35237cbfc8378c94928b682afa (patch) | |
tree | 44374242694da2b127e6004fee124f75e5cfdc3c | |
parent | 99d46e8c276c6705b2b0fee9cf4660e56ae825be (diff) |
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-x | youtube-dl | 2 |
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): |