MrBigDig 2 months ago committed by GitHub
commit 0f01494a68
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -518,9 +518,9 @@ class PornHubPlaylistBaseIE(PornHubBaseIE):
return [ return [
self.url_result( self.url_result(
'http://www.%s/%s' % (host, video_url), 'http://www.%s/%s' % (host, video_url),
PornHubIE.ie_key(), video_title=title) PornHubIE.ie_key(), video_title=title, video_id=id)
for video_url, title in orderedSet(re.findall( for video_url, id, title in orderedSet(re.findall(
r'href="/?(view_video\.php\?.*\bviewkey=[\da-z]+[^"]*)"[^>]*\s+title="([^"]+)"', r'href="/?(view_video\.php\?.*\bviewkey=([\da-z]+)[^"]*)"[^>]*\s+title="([^"]+)"',
container)) container))
] ]

Loading…
Cancel
Save