]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[viki] Remove clean_html call
authorYen Chi Hsuan <yan12125@gmail.com>
Fri, 1 May 2015 17:35:46 +0000 (01:35 +0800)
committerYen Chi Hsuan <yan12125@gmail.com>
Fri, 1 May 2015 17:35:46 +0000 (01:35 +0800)
youtube_dl/extractor/viki.py

index f85e43042872cbddee07c5562c138c000e680856..cf6af1e5cdb6315d325d2bd355d384cc283a3e0c 100644 (file)
@@ -11,7 +11,6 @@ from ..utils import (
     unescapeHTML,
     unified_strdate,
     US_RATINGS,
-    clean_html,
     determine_ext,
     mimetype2ext,
 )
@@ -89,7 +88,6 @@ class VikiIE(InfoExtractor):
             req, video_id, note='Downloading info page')
         err_msg = self._html_search_regex(r'<div[^>]+class="video-error[^>]+>(.+)</div>', info_webpage, 'error message', default=None)
         if err_msg:
-            err_msg = clean_html(err_msg)
             if 'not available in your region' in err_msg:
                 raise ExtractorError(
                     'Video %s is blocked from your location.' % video_id,