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:
parent
cd56d28325
commit
af9fa317f1
@ -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>I’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.',
|
||||
|
Loading…
x
Reference in New Issue
Block a user