|
|
@ -261,27 +261,33 @@ class VimeoIE(VimeoBaseInfoExtractor):
|
|
|
|
|
|
|
|
|
|
|
|
# _VALID_URL matches Vimeo URLs
|
|
|
|
# _VALID_URL matches Vimeo URLs
|
|
|
|
_VALID_URL = r'''(?x)
|
|
|
|
_VALID_URL = r'''(?x)
|
|
|
|
https?://
|
|
|
|
https?://
|
|
|
|
(?:
|
|
|
|
(?:
|
|
|
|
(?:
|
|
|
|
(?:
|
|
|
|
www|
|
|
|
|
www|
|
|
|
|
player
|
|
|
|
player
|
|
|
|
)
|
|
|
|
)
|
|
|
|
\.
|
|
|
|
\.
|
|
|
|
)?
|
|
|
|
)?
|
|
|
|
vimeo(?:pro)?\.com/
|
|
|
|
vimeo(?:pro)?\.com/
|
|
|
|
(?!(?:channels|album|showcase)/[^/?#]+/?(?:$|[?#])|[^/]+/review/|ondemand/)
|
|
|
|
(?:
|
|
|
|
(?:.*?/)??
|
|
|
|
(?P<u>user)|
|
|
|
|
(?:
|
|
|
|
(?!(?:channels|album|showcase)/[^/?#]+/?(?:$|[?#])|[^/]+/review/|ondemand/)
|
|
|
|
(?:
|
|
|
|
(?:.*?/)??
|
|
|
|
play_redirect_hls|
|
|
|
|
(?P<q>
|
|
|
|
moogaloop\.swf)\?clip_id=
|
|
|
|
(?:
|
|
|
|
)?
|
|
|
|
play_redirect_hls|
|
|
|
|
(?:videos?/)?
|
|
|
|
moogaloop\.swf)\?clip_id=
|
|
|
|
(?P<id>[0-9]+)
|
|
|
|
)?
|
|
|
|
(?:/(?P<unlisted_hash>[\da-f]{10}))?
|
|
|
|
(?:videos?/)?
|
|
|
|
/?(?:[?&].*)?(?:[#].*)?$
|
|
|
|
)
|
|
|
|
'''
|
|
|
|
(?P<id>[0-9]+)
|
|
|
|
|
|
|
|
(?(u)
|
|
|
|
|
|
|
|
/(?!videos|likes)[^/?#]+/?|
|
|
|
|
|
|
|
|
(?(q)|/(?P<unlisted_hash>[\da-f]{10}))?
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
(?:(?(q)[&]|(?(u)|/?)[?]).*?)?(?:[#].*)?$
|
|
|
|
|
|
|
|
'''
|
|
|
|
IE_NAME = 'vimeo'
|
|
|
|
IE_NAME = 'vimeo'
|
|
|
|
_TESTS = [
|
|
|
|
_TESTS = [
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -539,7 +545,12 @@ class VimeoIE(VimeoBaseInfoExtractor):
|
|
|
|
'params': {
|
|
|
|
'params': {
|
|
|
|
'skip_download': True,
|
|
|
|
'skip_download': True,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
# user playlist alias -> https://vimeo.com/258705797
|
|
|
|
|
|
|
|
'url': 'https://vimeo.com/user26785108/newspiritualguide',
|
|
|
|
|
|
|
|
'only_matching': True,
|
|
|
|
|
|
|
|
},
|
|
|
|
# https://gettingthingsdone.com/workflowmap/
|
|
|
|
# https://gettingthingsdone.com/workflowmap/
|
|
|
|
# vimeo embed with check-password page protected by Referer header
|
|
|
|
# vimeo embed with check-password page protected by Referer header
|
|
|
|
]
|
|
|
|
]
|
|
|
|