1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-23 00:54:31 +01:00

[vimeo] Make the protocol mandatory in the url (fixes #3926)

If it's missing, it will be correctly handled by the generic IE.
This commit is contained in:
Jaime Marquínez Ferrándiz 2014-10-11 22:25:30 +02:00
parent e29fdedb45
commit 3357110a4c

View File

@ -56,7 +56,7 @@ class VimeoIE(VimeoBaseInfoExtractor, SubtitlesInfoExtractor):
# _VALID_URL matches Vimeo URLs # _VALID_URL matches Vimeo URLs
_VALID_URL = r'''(?x) _VALID_URL = r'''(?x)
(?P<proto>(?:https?:)?//)? https?://
(?:(?:www|(?P<player>player))\.)? (?:(?:www|(?P<player>player))\.)?
vimeo(?P<pro>pro)?\.com/ vimeo(?P<pro>pro)?\.com/
(?!channels/[^/?#]+/?(?:$|[?#])|album/) (?!channels/[^/?#]+/?(?:$|[?#])|album/)