aboutsummaryrefslogtreecommitdiffstats
path: root/youtube-dl
diff options
context:
space:
mode:
authorRogério Brito <rbrito@ime.usp.br>2011-04-20 21:20:55 -0300
committerRogério Brito <rbrito@ime.usp.br>2011-04-20 21:21:01 -0300
commit44c636df8966a1ace617b276f19b5887aa66d612 (patch)
tree386d40097afe5538c7466475b4246baa85fc2932 /youtube-dl
parent1e055db69ccffbacad5765887f14879bbe350ce2 (diff)
downloadyoutube-dl-44c636df8966a1ace617b276f19b5887aa66d612.zip
youtube-dl-44c636df8966a1ace617b276f19b5887aa66d612.tar.gz
youtube-dl-44c636df8966a1ace617b276f19b5887aa66d612.tar.bz2
vimeo: Tweak the regexp to allow some extended URLs from vimeo.
This, in particular, lets me grab the videos from the beginners channel with URLs like: http://vimeo.com/groups/fivebyfive/videos/22648611 Note that the regexp *will* break for other URLs that we don't know about and that's on purpose: we don't want to accidentally grab videos that would be passed on to other information extractors.
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 17fb82d..f3d7a3f 100755
--- a/youtube-dl
+++ b/youtube-dl
@@ -1724,7 +1724,7 @@ class VimeoIE(InfoExtractor):
"""Information extractor for vimeo.com."""
# _VALID_URL matches Vimeo URLs
- _VALID_URL = r'(?:https?://)?(?:(?:www|player).)?vimeo\.com/(?:video/)?([0-9]+)'
+ _VALID_URL = r'(?:https?://)?(?:(?:www|player).)?vimeo\.com/(?:groups/[^/]+/)?(?:videos?/)?([0-9]+)'
def __init__(self, downloader=None):
InfoExtractor.__init__(self, downloader)