[extractor/vimeo] Bugfix in bfd973ece3

This commit is contained in:
pukkandan 2022-08-04 15:45:17 +05:30
parent fc61aff41b
commit 4080efeb01
No known key found for this signature in database
GPG Key ID: 7EEE9E1E817D0A39

View File

@ -741,6 +741,10 @@ def _extract_embed_urls(cls, url, webpage):
for embed_url in super()._extract_embed_urls(url, webpage): for embed_url in super()._extract_embed_urls(url, webpage):
yield cls._smuggle_referrer(embed_url, url) 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): def _verify_player_video_password(self, url, video_id, headers):
password = self._get_video_password() password = self._get_video_password()
data = urlencode_postdata({ data = urlencode_postdata({