[vimeo] fix vimeo pro embed extraction(closes #29126)
authorRemita Amine <remitamine@gmail.com>
Wed, 26 May 2021 10:04:39 +0000 (11:04 +0100)
committerRemita Amine <remitamine@gmail.com>
Wed, 26 May 2021 10:04:39 +0000 (11:04 +0100)
youtube_dl/extractor/vimeo.py

index 102687b8241181996be020962b122cda87318a0f..0b386f450b7b7875e5b846d8b0601828c3e0fd19 100644 (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: