[cammodels] Add another error pattern

This commit is contained in:
Sergey M․ 2018-05-26 22:21:55 +07:00
parent f16f48779c
commit 2ce35d9f43
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D

View File

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