mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2025-01-10 07:07:55 +01:00
[AnimeLab] Do not use fatal with default
This commit is contained in:
parent
ab2c141611
commit
72350e39f6
@ -48,7 +48,7 @@ class AnimeLabBaseIE(InfoExtractor):
|
||||
page = e.cause.read().decode('utf-8')
|
||||
js_error = self._search_regex(
|
||||
r'Utils\.notify\( *?[\'"]error[\'"] *?, *?[\'"](.*?)[\'"]',
|
||||
page, 'Trying to get error message in js', default=None, fatal=False)
|
||||
page, 'Trying to get error message in js', default=None)
|
||||
if js_error:
|
||||
raise ExtractorError('Unable to log in: %s' % js_error, expected=True)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user