Przeglądaj źródła

[cammodels] Add another error pattern

Sergey M․ 7 lat temu
rodzic
commit
2ce35d9f43
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      youtube_dl/extractor/cammodels.py

+ 1 - 0
youtube_dl/extractor/cammodels.py

@@ -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: