1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-01-24 13:05:34 +08:00

[atresplayer] update login validation

This commit is contained in:
zurfyx 2017-03-25 00:45:32 +01:00
parent d0ba55871e
commit 18d9bb91ad
No known key found for this signature in database
GPG Key ID: B7457DFB0A3A9BEE

View File

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