diff options
author | Rogério Brito <rbrito@ime.usp.br> | 2011-02-17 08:25:45 -0200 |
---|---|---|
committer | Rogério Brito <rbrito@ime.usp.br> | 2011-02-17 08:25:45 -0200 |
commit | a7e5259c33851725243b13f01929e75bb40e0ea2 (patch) | |
tree | 7d63b23748f56687cc44552cd2ea1c0e175dce64 | |
parent | 8cc98b2358fb4554c7af9dcd38fd4c96262e5ac3 (diff) | |
download | youtube-dl-a7e5259c33851725243b13f01929e75bb40e0ea2.tar.gz youtube-dl-a7e5259c33851725243b13f01929e75bb40e0ea2.tar.bz2 youtube-dl-a7e5259c33851725243b13f01929e75bb40e0ea2.zip |
vimeo: Make regexp more robust.
This change makes the VimeoIE work with http://player.vimeo.com/video/19267888
-rwxr-xr-x | youtube-dl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube-dl b/youtube-dl index 16d234ebf..780a6d9a2 100755 --- a/youtube-dl +++ b/youtube-dl @@ -1723,7 +1723,7 @@ class VimeoIE(InfoExtractor): """Information extractor for vimeo.com.""" # _VALID_URL matches Vimeo URLs - _VALID_URL = r'(?:http://)?(?:www.)?vimeo\.com/([0-9]+)' + _VALID_URL = r'(?:http://)?(?:(?:www|player).)?vimeo\.com/(?:video/)?([0-9]+)' def __init__(self, downloader=None): InfoExtractor.__init__(self, downloader) |