mirror of
https://github.com/l1ving/youtube-dl
synced 2025-01-24 16:28:20 +08:00
[atresplayer] update login validation
This commit is contained in:
parent
d0ba55871e
commit
18d9bb91ad
@ -90,7 +90,7 @@ class AtresPlayerIE(InfoExtractor):
|
||||
request, None, 'Logging in as %s' % username)
|
||||
|
||||
error = self._html_search_regex(
|
||||
r'(?s)<ul class="list_error">(.+?)</ul>', response, 'error', default=None)
|
||||
r'(?s)<ul class="list_error.*?">(.+?)</ul>', response, 'error', default=None)
|
||||
if error:
|
||||
raise ExtractorError(
|
||||
'Unable to login: %s' % error, expected=True)
|
||||
|
Loading…
Reference in New Issue
Block a user