From: Sergey M․ Date: Sun, 22 Oct 2017 01:16:30 +0000 (+0700) Subject: [dramafever] Fix login error message extraction X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=36e2d3ca43145e5f13874a02447db572173cc057;p=youtube-dl [dramafever] Fix login error message extraction --- diff --git a/youtube_dl/extractor/dramafever.py b/youtube_dl/extractor/dramafever.py index 9a498d72a..95883a037 100644 --- a/youtube_dl/extractor/dramafever.py +++ b/youtube_dl/extractor/dramafever.py @@ -59,7 +59,7 @@ class DramaFeverBaseIE(AMPIE): if all(logout_pattern not in response for logout_pattern in ['href="/accounts/logout/"', '>Log out<']): error = self._html_search_regex( - r'(?s)class="hidden-xs prompt"[^>]*>(.+?)<', + r'(?s)]+\bclass="hidden-xs prompt"[^>]*>(.+?)