mirror of
				https://gitlab.com/ytdl-org/youtube-dl.git
				synced 2025-11-04 07:17:07 -05:00 
			
		
		
		
	[gorillavid] Improve title
This commit is contained in:
		@@ -97,7 +97,7 @@ class GorillaVidIE(InfoExtractor):
 | 
				
			|||||||
            webpage = self._download_webpage(req, video_id, 'Downloading video page')
 | 
					            webpage = self._download_webpage(req, video_id, 'Downloading video page')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        title = self._search_regex(
 | 
					        title = self._search_regex(
 | 
				
			||||||
            [r'style="z-index: [0-9]+;">([^<]+)</span>', r'>Watch (.+) '],
 | 
					            [r'style="z-index: [0-9]+;">([^<]+)</span>', r'<td nowrap>([^<]+)</td>', r'>Watch (.+) '],
 | 
				
			||||||
            webpage, 'title', default=None) or self._og_search_title(webpage)
 | 
					            webpage, 'title', default=None) or self._og_search_title(webpage)
 | 
				
			||||||
        video_url = self._search_regex(
 | 
					        video_url = self._search_regex(
 | 
				
			||||||
            r'file\s*:\s*["\'](http[^"\']+)["\'],', webpage, 'file url')
 | 
					            r'file\s*:\s*["\'](http[^"\']+)["\'],', webpage, 'file url')
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user