diff --git a/youtube_dl/extractor/funimation.py b/youtube_dl/extractor/funimation.py index 773d80fe8..6f6aaf30f 100644 --- a/youtube_dl/extractor/funimation.py +++ b/youtube_dl/extractor/funimation.py @@ -10,6 +10,7 @@ ) import re + class FunimationIE(InfoExtractor): _VALID_URL = r'https?://(?:www\.)?funimation\.com/shows/.+[^ ]/videos/official/(?P[^?]+)' @@ -43,7 +44,7 @@ def _login(self): raise ExtractorError('Funimation is not available in your region.', expected=True) raise if re.search(r'', login) is not None: - raise ExtractorError('Unable to login, wrong username or password.', expected=True) + raise ExtractorError('Unable to login, wrong username or password.', expected=True) def _real_initialize(self): self._login()