mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-25 03:32:05 +00:00
[pornhub] Download archive improvement
This commit is contained in:
parent
195f22f679
commit
a327d17cea
1 changed files with 3 additions and 3 deletions
|
@ -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))
|
||||
]
|
||||
|
||||
|
|
Loading…
Reference in a new issue