From c23848b3c5244f8ef1501adfd04a32111b12d7ff Mon Sep 17 00:00:00 2001 From: Yen Chi Hsuan Date: Wed, 27 May 2015 14:20:29 +0800 Subject: [PATCH] [naver] Enhanced error detection --- youtube_dl/extractor/naver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.22.2