aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/youtube.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2014-10-26 21:49:29 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2014-10-26 21:49:29 +0100
commitbfc2bedcfcbfd531b6f452cae3b7af654ceaab1a (patch)
treefd7a6faaaa307b8a2f8fae091e3716564c204ff5 /youtube_dl/extractor/youtube.py
parent83855f3a1fdf9d344e0b25c757e3eccd9246c2bf (diff)
[youtube] Make confirm_age non-fatal (#4042)
Diffstat (limited to 'youtube_dl/extractor/youtube.py')
-rw-r--r--youtube_dl/extractor/youtube.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.py
index 4ab56e0ac..382d20c5a 100644
--- a/youtube_dl/extractor/youtube.py
+++ b/youtube_dl/extractor/youtube.py
@@ -185,8 +185,8 @@ class YoutubeBaseInfoExtractor(InfoExtractor):
self._download_webpage(
req, None,
- note='Confirming age', errnote='Unable to confirm age')
- return True
+ note='Confirming age', errnote='Unable to confirm age',
+ fatal=False)
def _real_initialize(self):
if self._downloader is None: