mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 14:45:14 +00:00 
			
		
		
		
	[cleanup] Use _html_extract_title
				
					
				
			This commit is contained in:
		| @@ -24,8 +24,7 @@ class TrailerAddictIE(InfoExtractor): | ||||
|         name = mobj.group('movie') + '/' + mobj.group('trailer_name') | ||||
|         webpage = self._download_webpage(url, name) | ||||
|  | ||||
|         title = self._search_regex(r'<title>(.+?)</title>', | ||||
|                                    webpage, 'video title').replace(' - Trailer Addict', '') | ||||
|         title = self._html_extract_title(webpage, 'video title').replace(' - Trailer Addict', '') | ||||
|         view_count_str = self._search_regex( | ||||
|             r'<span class="views_n">([0-9,.]+)</span>', | ||||
|             webpage, 'view count', fatal=False) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 pukkandan
					pukkandan