From 72350e39f6dbb357b89a8bda4716023020324726 Mon Sep 17 00:00:00 2001 From: Mariusz Skoneczko Date: Sun, 9 Jul 2017 13:10:34 +1000 Subject: [PATCH] [AnimeLab] Do not use fatal with default --- youtube_dl/extractor/animelab.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/animelab.py b/youtube_dl/extractor/animelab.py index d90b76e66..088f5f042 100644 --- a/youtube_dl/extractor/animelab.py +++ b/youtube_dl/extractor/animelab.py @@ -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)