mirror of
				https://gitlab.com/ytdl-org/youtube-dl.git
				synced 2025-11-04 09:17:07 -05:00 
			
		
		
		
	[pornhub:playlist] Allow alphanumeric viewkeys (Closes #7695)
This commit is contained in:
		@@ -147,7 +147,8 @@ class PornHubPlaylistIE(InfoExtractor):
 | 
			
		||||
 | 
			
		||||
        entries = [
 | 
			
		||||
            self.url_result('http://www.pornhub.com/%s' % video_url, 'PornHub')
 | 
			
		||||
            for video_url in set(re.findall('href="/?(view_video\.php\?viewkey=\d+[^"]*)"', webpage))
 | 
			
		||||
            for video_url in set(re.findall(
 | 
			
		||||
                r'href="/?(view_video\.php\?.*\bviewkey=[\da-z]+[^"]*)"', webpage))
 | 
			
		||||
        ]
 | 
			
		||||
 | 
			
		||||
        playlist = self._parse_json(
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user