diff options
author | Yen Chi Hsuan <yan12125@gmail.com> | 2015-05-02 01:35:46 +0800 |
---|---|---|
committer | Yen Chi Hsuan <yan12125@gmail.com> | 2015-05-02 01:35:46 +0800 |
commit | 2eb0192155d53d70ae89ab8553ead49feb860ea4 (patch) | |
tree | 76814fe487b33163744da4b2a4ad539bf3d7bdff /youtube_dl/extractor | |
parent | d948e09b6174179adb43ac10cdb95dffeb4854dd (diff) |
[viki] Remove clean_html call
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r-- | youtube_dl/extractor/viki.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/youtube_dl/extractor/viki.py b/youtube_dl/extractor/viki.py index f85e43042..cf6af1e5c 100644 --- a/youtube_dl/extractor/viki.py +++ b/youtube_dl/extractor/viki.py @@ -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, |