1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-06-28 20:21:09 +02:00

[vimeo] Proper warning when password is required (Fixes #2053)

In player. URLs, the password warning is different.
This commit is contained in:
Philipp Hagemeister 2014-01-06 23:35:24 +01:00
parent cdeb10b5cd
commit 559e370f44

View File

@ -179,6 +179,10 @@ def _real_extract(self, url):
else:
raise ExtractorError(u'Unable to extract info section',
cause=e)
else:
if config.get('view') == 4:
self._verify_video_password(url, video_id, webpage)
return self._real_extract(url)
# Extract title
video_title = config["video"]["title"]