1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-08 04:02:40 +01:00

[vimeo] fix showcase password protected video extraction(closes #24224)

This commit is contained in:
Remita Amine 2020-03-03 12:33:38 +01:00
parent 46cc54ca8f
commit 12ee431676

View File

@ -585,7 +585,7 @@ def _real_extract(self, url):
url = 'https://vimeo.com/' + video_id url = 'https://vimeo.com/' + video_id
elif is_player: elif is_player:
url = 'https://player.vimeo.com/video/' + video_id url = 'https://player.vimeo.com/video/' + video_id
elif any(p in url for p in ('play_redirect_hls', 'moogaloop.swf')): elif any(p in url for p in ('play_redirect_hls', 'moogaloop.swf', '/album/', '/showcase/')):
url = 'https://vimeo.com/' + video_id url = 'https://vimeo.com/' + video_id
try: try: