1
0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2025-06-30 23:36:28 +00:00

Merge a327d17cea448293aaa8128b610d851e19506f22 into 711e72c292327674c4a0593fdbb83d6347738ec9

This commit is contained in:
MrBigDig 2025-02-24 05:09:32 +00:00 committed by GitHub
commit c6ee7a7a2a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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