Browse Source

[cammodels] Add another error pattern

master-ytdl-org
Sergey M․ 6 years ago
parent
commit
2ce35d9f43
No known key found for this signature in database GPG Key ID: 2C393E0F18A9236D
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      youtube_dl/extractor/cammodels.py

+ 1
- 0
youtube_dl/extractor/cammodels.py View 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:


Loading…
Cancel
Save