From: Yen Chi Hsuan Date: Wed, 27 May 2015 06:20:29 +0000 (+0800) Subject: [naver] Enhanced error detection X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=c23848b3c5244f8ef1501adfd04a32111b12d7ff;p=youtube-dl [naver] Enhanced error detection --- diff --git a/youtube_dl/extractor/naver.py b/youtube_dl/extractor/naver.py index c10405f04..fdd825784 100644 --- a/youtube_dl/extractor/naver.py +++ b/youtube_dl/extractor/naver.py @@ -35,7 +35,7 @@ class NaverIE(InfoExtractor): webpage) if m_id is None: m_error = re.search( - r'(?s)
\s*(?:)?\s*

(?P.+?)

\s*
', + r'(?s)
\s*(?:)?\s*

(?P.+?)

\s*
', webpage) if m_error: raise ExtractorError(clean_html(m_error.group('msg')), expected=True)