From af9fa317f1eae6c2a49c1a6f410fe32031bf6b9d Mon Sep 17 00:00:00 2001 From: mars67857 Date: Sun, 15 Oct 2017 16:12:57 -0700 Subject: [PATCH] Make regex searches for offline/private error strings not throw warnings --- youtube_dl/extractor/cammodels.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/youtube_dl/extractor/cammodels.py b/youtube_dl/extractor/cammodels.py index 8e00d8edc..d2c013c12 100644 --- a/youtube_dl/extractor/cammodels.py +++ b/youtube_dl/extractor/cammodels.py @@ -28,7 +28,8 @@ class CamModelsIE(InfoExtractor): r'(?PI\'m offline, but let\'s stay connected!)', webpage, 'offline indicator', - fatal=False) + None, + False) if offline: raise ExtractorError( 'This user is currently offline, so nothing can be downloaded.', @@ -38,7 +39,8 @@ class CamModelsIE(InfoExtractor): r'(?PI’m in a private show right now)', webpage, 'private show indicator', - fatal=False) + None, + False) if private: raise ExtractorError( 'This user is doing a private show, which requires payment. This extractor currently does not support private streams.',