mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 22:55:18 +00:00 
			
		
		
		
	[viki] Remove clean_html call
This commit is contained in:
		| @@ -11,7 +11,6 @@ from ..utils import ( | |||||||
|     unescapeHTML, |     unescapeHTML, | ||||||
|     unified_strdate, |     unified_strdate, | ||||||
|     US_RATINGS, |     US_RATINGS, | ||||||
|     clean_html, |  | ||||||
|     determine_ext, |     determine_ext, | ||||||
|     mimetype2ext, |     mimetype2ext, | ||||||
| ) | ) | ||||||
| @@ -89,7 +88,6 @@ class VikiIE(InfoExtractor): | |||||||
|             req, video_id, note='Downloading info page') |             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) |         err_msg = self._html_search_regex(r'<div[^>]+class="video-error[^>]+>(.+)</div>', info_webpage, 'error message', default=None) | ||||||
|         if err_msg: |         if err_msg: | ||||||
|             err_msg = clean_html(err_msg) |  | ||||||
|             if 'not available in your region' in err_msg: |             if 'not available in your region' in err_msg: | ||||||
|                 raise ExtractorError( |                 raise ExtractorError( | ||||||
|                     'Video %s is blocked from your location.' % video_id, |                     'Video %s is blocked from your location.' % video_id, | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Yen Chi Hsuan
					Yen Chi Hsuan