mirror of
				https://gitlab.com/ytdl-org/youtube-dl.git
				synced 2025-11-04 05:37:07 -05:00 
			
		
		
		
	[pornhub] Fix uploader regex
This commit is contained in:
		@@ -56,7 +56,7 @@ class PornHubIE(InfoExtractor):
 | 
			
		||||
 | 
			
		||||
        video_title = self._html_search_regex(r'<h1 [^>]+>([^<]+)', webpage, 'title')
 | 
			
		||||
        video_uploader = self._html_search_regex(
 | 
			
		||||
            r'(?s)From: .+?<(?:a href="/users/|a href="/channels/|<span class="username)[^>]+>(.+?)<',
 | 
			
		||||
            r'(?s)From: .+?<(?:a href="/users/|a href="/channels/|span class="username)[^>]+>(.+?)<',
 | 
			
		||||
            webpage, 'uploader', fatal=False)
 | 
			
		||||
        thumbnail = self._html_search_regex(r'"image_url":"([^"]+)', webpage, 'thumbnail', fatal=False)
 | 
			
		||||
        if thumbnail:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user