1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-21 17:51:51 +00:00

[vimeo] fix vimeo pro embed extraction(closes #29126)

This commit is contained in:
Remita Amine 2021-05-26 11:04:39 +01:00
parent dfbbe2902f
commit 1980ff4550

View file

@ -647,7 +647,7 @@ class VimeoIE(VimeoBaseInfoExtractor):
expected=True)
raise
if '://player.vimeo.com/video/' in url:
if '//player.vimeo.com/video/' in url:
config = self._parse_json(self._search_regex(
r'\bconfig\s*=\s*({.+?})\s*;', webpage, 'info section'), video_id)
if config.get('view') == 4: