diff --git a/youtube_dl/extractor/viki.py b/youtube_dl/extractor/viki.py index f85e430428..cf6af1e5cd 100644 --- a/youtube_dl/extractor/viki.py +++ b/youtube_dl/extractor/viki.py @@ -11,7 +11,6 @@ unescapeHTML, unified_strdate, US_RATINGS, - clean_html, determine_ext, mimetype2ext, ) @@ -89,7 +88,6 @@ def _real_extract(self, url): req, video_id, note='Downloading info page') err_msg = self._html_search_regex(r']+class="video-error[^>]+>(.+)', 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,