[cammodels] Add another error pattern
authorSergey M․ <dstftw@gmail.com>
Sat, 26 May 2018 15:21:55 +0000 (22:21 +0700)
committerSergey M․ <dstftw@gmail.com>
Sat, 26 May 2018 15:22:58 +0000 (22:22 +0700)
youtube_dl/extractor/cammodels.py

index 4f1b88d14c80582b333dd5635dfcf66d0d661e2b..17f7ac0430a7d4b7c4becfa649b15c2ddcbdc39b 100644 (file)
@@ -28,6 +28,7 @@ class CamModelsIE(InfoExtractor):
             ERRORS = (
                 ("I'm offline, but let's stay connected", 'This user is currently offline'),
                 ('in a private show', 'This user is in a private show'),
+                ('is currently performing LIVE', 'This model is currently performing live'),
             )
             for pattern, message in ERRORS:
                 if pattern in webpage: