mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 06:35:12 +00:00 
			
		
		
		
	[cleanup] Use _html_extract_title
				
					
				
			This commit is contained in:
		| @@ -38,8 +38,7 @@ class MojvideoIE(InfoExtractor): | ||||
|                 r'<errordesc>([^<]*)</errordesc>', playerapi, 'error description', fatal=False) | ||||
|             raise ExtractorError('%s said: %s' % (self.IE_NAME, error_desc), expected=True) | ||||
|  | ||||
|         title = self._html_search_regex( | ||||
|             r'<title>([^<]+)</title>', playerapi, 'title') | ||||
|         title = self._html_extract_title(playerapi) | ||||
|         video_url = self._html_search_regex( | ||||
|             r'<file>([^<]+)</file>', playerapi, 'video URL') | ||||
|         thumbnail = self._html_search_regex( | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 pukkandan
					pukkandan