projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8cc98b2
)
vimeo: Make regexp more robust.
author
Rogério Brito
<rbrito@ime.usp.br>
Thu, 17 Feb 2011 10:25:45 +0000
(08:25 -0200)
committer
Rogério Brito
<rbrito@ime.usp.br>
Thu, 17 Feb 2011 10:25:45 +0000
(08:25 -0200)
This change makes the VimeoIE work with http://player.vimeo.com/video/
19267888
youtube-dl
patch
|
blob
|
history
diff --git
a/youtube-dl
b/youtube-dl
index 16d234ebf0af717f63dcd0f741419c16c3aed3be..780a6d9a25ea7eaabd4576af71435490fd459589 100755
(executable)
--- 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)