Browse Source

[cammodels] Add another error pattern

Sergey M․ 7 years ago
parent
commit
2ce35d9f43
1 changed files with 1 additions and 0 deletions
  1. 1 0
      youtube_dl/extractor/cammodels.py

+ 1 - 0
youtube_dl/extractor/cammodels.py

@@ -28,6 +28,7 @@ class CamModelsIE(InfoExtractor):
             ERRORS = (
             ERRORS = (
                 ("I'm offline, but let's stay connected", 'This user is currently offline'),
                 ("I'm offline, but let's stay connected", 'This user is currently offline'),
                 ('in a private show', 'This user is in a private show'),
                 ('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:
             for pattern, message in ERRORS:
                 if pattern in webpage:
                 if pattern in webpage: