mirror of
https://github.com/mikf/gallery-dl.git
synced 2025-01-31 11:41:35 +01:00
[pornhub:gif] extract 'viewkey' and 'timestamp' metadata (#4463)
https://github.com/mikf/gallery-dl/issues/4463#issuecomment-2014550302
This commit is contained in:
parent
7a7dc442a0
commit
4b6f47e571
@ -143,6 +143,9 @@ class PornhubGifExtractor(PornhubExtractor):
|
||||
"url" : extr('"contentUrl": "', '"'),
|
||||
"date" : text.parse_datetime(
|
||||
extr('"uploadDate": "', '"'), "%Y-%m-%d"),
|
||||
"viewkey" : extr('From this video: '
|
||||
'<a href="/view_video.php?viewkey=', '"'),
|
||||
"timestamp": extr('lass="directLink tstamp" rel="nofollow">', '<'),
|
||||
"user" : text.remove_html(extr("Created by:", "</div>")),
|
||||
}
|
||||
|
||||
|
@ -62,9 +62,11 @@ __tests__ = (
|
||||
"hardcore sex",
|
||||
"babes 18 year",
|
||||
],
|
||||
"timestamp": "5:07",
|
||||
"title" : "Intense sloppy blowjob of Danika Mori",
|
||||
"url" : "https://el.phncdn.com/pics/gifs/043/726/891/43726891a.webm",
|
||||
"user" : "Danika Mori",
|
||||
"viewkey" : "64367c8c78a4a",
|
||||
},
|
||||
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user