From: Jaime Marquínez Ferrándiz Date: Sat, 11 Oct 2014 20:25:30 +0000 (+0200) Subject: [vimeo] Make the protocol mandatory in the url (fixes #3926) X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=3357110a4c26b9a8410ec47055f0d86ce30d4f3d;p=youtube-dl [vimeo] Make the protocol mandatory in the url (fixes #3926) If it's missing, it will be correctly handled by the generic IE. --- 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(?:https?:)?//)? + https?:// (?:(?:www|(?Pplayer))\.)? vimeo(?Ppro)?\.com/ (?!channels/[^/?#]+/?(?:$|[?#])|album/)