2
0
Эх сурвалжийг харах

[youtube] Make confirm_age non-fatal (#4042)

Philipp Hagemeister 11 жил өмнө
parent
commit
bfc2bedcfc

+ 2 - 2
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: