mirror of
				https://gitlab.com/ytdl-org/youtube-dl.git
				synced 2025-11-03 23:57:06 -05:00 
			
		
		
		
	[drtuber] Fix title extraction (closes #16107)
This commit is contained in:
		@@ -66,7 +66,9 @@ class DrTuberIE(InfoExtractor):
 | 
			
		||||
        self._sort_formats(formats)
 | 
			
		||||
 | 
			
		||||
        title = self._html_search_regex(
 | 
			
		||||
            (r'class="title_watch"[^>]*><(?:p|h\d+)[^>]*>([^<]+)<',
 | 
			
		||||
            (r'<h1[^>]+class=["\']title[^>]+>([^<]+)',
 | 
			
		||||
             r'<title>([^<]+)\s*@\s+DrTuber',
 | 
			
		||||
             r'class="title_watch"[^>]*><(?:p|h\d+)[^>]*>([^<]+)<',
 | 
			
		||||
             r'<p[^>]+class="title_substrate">([^<]+)</p>',
 | 
			
		||||
             r'<title>([^<]+) - \d+'),
 | 
			
		||||
            webpage, 'title')
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user