diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2014-01-06 23:35:24 +0100 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2014-01-06 23:35:27 +0100 |
commit | 559e370f44fd77db1f5b2f4f6a83beaab0848bf2 (patch) | |
tree | 64004f0a76ad74c3b801d2b6a5275fc692068ec7 /youtube_dl | |
parent | cdeb10b5cdba9b74ed78d04fb596a0abd2e6e467 (diff) |
[vimeo] Proper warning when password is required (Fixes #2053)
In player. URLs, the password warning is different.
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/extractor/vimeo.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/youtube_dl/extractor/vimeo.py b/youtube_dl/extractor/vimeo.py index 05e1aa1f2..d832e45d4 100644 --- a/youtube_dl/extractor/vimeo.py +++ b/youtube_dl/extractor/vimeo.py @@ -179,6 +179,10 @@ class VimeoIE(InfoExtractor): 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"] |