summaryrefslogtreecommitdiffhomepage
path: root/youtube_dl
diff options
context:
space:
mode:
authorJaime Marquínez Ferrándiz <[email protected]>2014-10-11 22:25:30 +0200
committerJaime Marquínez Ferrándiz <[email protected]>2014-10-11 22:26:26 +0200
commit3357110a4c26b9a8410ec47055f0d86ce30d4f3d (patch)
tree24d1823fcac44f4e0f4bc92493adc5ac000bb7fa /youtube_dl
parente29fdedb452fa6a52a8f73d20444b718bb8b45b5 (diff)
downloadyoutube-dl-3357110a4c26b9a8410ec47055f0d86ce30d4f3d.tar.gz
youtube-dl-3357110a4c26b9a8410ec47055f0d86ce30d4f3d.zip
[vimeo] Make the protocol mandatory in the url (fixes #3926)
If it's missing, it will be correctly handled by the generic IE.
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/extractor/vimeo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/vimeo.py b/youtube_dl/extractor/vimeo.py
index d2c36b58a..e6a86f18e 100644
--- a/youtube_dl/extractor/vimeo.py
+++ b/youtube_dl/extractor/vimeo.py
@@ -56,7 +56,7 @@ class VimeoIE(VimeoBaseInfoExtractor, SubtitlesInfoExtractor):
# _VALID_URL matches Vimeo URLs
_VALID_URL = r'''(?x)
- (?P<proto>(?:https?:)?//)?
+ https?://
(?:(?:www|(?P<player>player))\.)?
vimeo(?P<pro>pro)?\.com/
(?!channels/[^/?#]+/?(?:$|[?#])|album/)