mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-12-23 16:36:48 +00:00
[vimeo] Proper warning when password is required (Fixes #2053)
In player. URLs, the password warning is different.
This commit is contained in:
parent
cdeb10b5cd
commit
559e370f44
@ -179,6 +179,10 @@ class VimeoIE(InfoExtractor):
|
|||||||
else:
|
else:
|
||||||
raise ExtractorError(u'Unable to extract info section',
|
raise ExtractorError(u'Unable to extract info section',
|
||||||
cause=e)
|
cause=e)
|
||||||
|
else:
|
||||||
|
if config.get('view') == 4:
|
||||||
|
self._verify_video_password(url, video_id, webpage)
|
||||||
|
return self._real_extract(url)
|
||||||
|
|
||||||
# Extract title
|
# Extract title
|
||||||
video_title = config["video"]["title"]
|
video_title = config["video"]["title"]
|
||||||
|
Loading…
Reference in New Issue
Block a user