From 4080efeb0127150c7a84cdcc0940e0a552fbdf4f Mon Sep 17 00:00:00 2001 From: pukkandan Date: Thu, 4 Aug 2022 15:45:17 +0530 Subject: [PATCH] [extractor/vimeo] Bugfix in bfd973ece3369c593b5e82a88cc16de80088a73e --- yt_dlp/extractor/vimeo.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/yt_dlp/extractor/vimeo.py b/yt_dlp/extractor/vimeo.py index 1c9e2453a..9e17149be 100644 --- a/yt_dlp/extractor/vimeo.py +++ b/yt_dlp/extractor/vimeo.py @@ -741,6 +741,10 @@ def _extract_embed_urls(cls, url, webpage): for embed_url in super()._extract_embed_urls(url, webpage): yield cls._smuggle_referrer(embed_url, url) + @classmethod + def _extract_url(cls, url, webpage): + return next(cls._extract_embed_urls(url, webpage), None) + def _verify_player_video_password(self, url, video_id, headers): password = self._get_video_password() data = urlencode_postdata({