[pornhub] fix 'gallery' extractor (#7842)

- update API endpoint
- extract and send 'token' parameter
This commit is contained in:
Mike Fährmann
2025-07-18 19:08:55 +02:00
parent 67a4472bc2
commit 22ec1aad9a
2 changed files with 8 additions and 5 deletions

View File

@@ -35,14 +35,16 @@ __tests__ = (
"#url" : "https://www.pornhub.com/album/69606532",
"#comment" : "KeyError due to missing image entry (#6299)",
"#class" : pornhub.PornhubGalleryExtractor,
"#log" : "69606532: Unable to ensure correct file order",
"#count" : 6,
},
{
"#url" : "https://www.pornhub.com/album/69040172",
"#comment" : "404 Error Page Not Found",
"#category": ("", "pornhub", "gallery"),
"#class" : pornhub.PornhubGalleryExtractor,
"#exception": exception.AuthorizationError,
"#exception": exception.HttpError,
},
{