From: Rogério Brito Date: Fri, 4 Feb 2011 08:15:27 +0000 (-0200) Subject: vimeo: Also accept URLs prefixed by www. X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=8cc98b2358fb4554c7af9dcd38fd4c96262e5ac3;p=youtube-dl vimeo: Also accept URLs prefixed by www. I hope that this doesn't break anything. `:)` --- diff --git a/youtube-dl b/youtube-dl index a925c9783..16d234ebf 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://)?vimeo\.com/([0-9]+)' + _VALID_URL = r'(?:http://)?(?:www.)?vimeo\.com/([0-9]+)' def __init__(self, downloader=None): InfoExtractor.__init__(self, downloader)