Skip to content

A feature-rich command-line audio/video downloader

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

Philipp Hagemeister559e370f44fd
diff --git a/youtube_dl/extractor/vimeo.py b/youtube_dl/extractor/vimeo.py
index 05e1aa1f22..d832e45d45 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"]