remove video_id from the exception

Co-authored-by: sepro <sepro@sepr0.com>
This commit is contained in:
N/Ame 2024-09-17 23:32:29 +12:00 committed by GitHub
parent b9228ed3fc
commit eedc08338a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -85,7 +85,7 @@ def _real_extract(self, url):
if not param_url:
if self._search_regex(self._LOGIN_REQUIRED_RE, webpage, 'login wrapper', default=None):
self.raise_login_required('This video is only available for members')
raise ExtractorError('Failed to extract URL from the query parameters', video_id=video_id)
raise ExtractorError('Failed to extract URL from the query parameters')
real_url = param_url.replace('https://vimeo.com/', 'https://player.vimeo.com/video/')
return self.url_result(VimeoIE._smuggle_referrer(real_url, url), VimeoIE, video_id)