projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cdeb10b
)
[vimeo] Proper warning when password is required (Fixes #2053)
author
Philipp Hagemeister
<phihag@phihag.de>
Mon, 6 Jan 2014 22:35:24 +0000
(23:35 +0100)
committer
Philipp Hagemeister
<phihag@phihag.de>
Mon, 6 Jan 2014 22:35:27 +0000
(23:35 +0100)
In player. URLs, the password warning is different.
youtube_dl/extractor/vimeo.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/vimeo.py
b/youtube_dl/extractor/vimeo.py
index 05e1aa1f22e3a3af0ff1b1cff0ed4e7a6b1ecc41..d832e45d45026220bf951442974c6ba7b0217456 100644
(file)
--- 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"]