1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-03-14 07:37:25 +08:00

Make regex searches for offline/private error strings not throw warnings

This commit is contained in:
mars67857 2017-10-15 16:12:57 -07:00
parent cd56d28325
commit af9fa317f1

View File

@ -28,7 +28,8 @@ class CamModelsIE(InfoExtractor):
r'(?P<id>I\'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'(?P<id>Im 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.',