aboutsummaryrefslogtreecommitdiffstats
path: root/youtube-dl
diff options
context:
space:
mode:
authorRogério Brito <rbrito@ime.usp.br>2011-02-04 06:15:27 -0200
committerRogério Brito <rbrito@ime.usp.br>2011-02-04 06:15:27 -0200
commit8cc98b2358fb4554c7af9dcd38fd4c96262e5ac3 (patch)
tree0ce6d7e086fa13debeee9ea4706d6decb1fd34cf /youtube-dl
parentf24c674b048003d878a1d6436c1b2af47693f2ac (diff)
downloadyoutube-dl-8cc98b2358fb4554c7af9dcd38fd4c96262e5ac3.zip
youtube-dl-8cc98b2358fb4554c7af9dcd38fd4c96262e5ac3.tar.gz
youtube-dl-8cc98b2358fb4554c7af9dcd38fd4c96262e5ac3.tar.bz2
vimeo: Also accept URLs prefixed by www.
I hope that this doesn't break anything. `:)`
Diffstat (limited to 'youtube-dl')
-rwxr-xr-xyoutube-dl2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube-dl b/youtube-dl
index a925c97..16d234e 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)