[imagehosts] provide 'post_url' metadata (#6582)

https://github.com/mikf/gallery-dl/issues/6582#issuecomment-3520249958
This commit is contained in:
Mike Fährmann
2025-11-12 18:58:49 +01:00
parent 359681a8e4
commit 65c4f00939
4 changed files with 19 additions and 3 deletions

View File

@@ -13,6 +13,11 @@ __tests__ = (
"#category": ("imagehost", "postimg", "image"),
"#class" : imagehosts.PostimgImageExtractor,
"#results" : "https://i.postimg.cc/PhJZt1Rw/test-tesuto.png?dl=1",
"filename" : "test-テスト-\"&>",
"extension": "png",
"token" : "Wtn2b3hC",
"post_url" : "https://postimg.cc/Wtn2b3hC",
},
{
@@ -34,9 +39,10 @@ __tests__ = (
"#results" : "https://i.postimg.cc/PhJZt1Rw/test-tesuto.png?dl=1",
"#sha1_content" : "cfaa8def53ed1a575e0c665c9d6d8cf2aac7a0ee",
"extension": "png",
"filename" : "test-テスト-\"&>",
"extension": "png",
"token" : "Wtn2b3hC",
"post_url" : "https://postimg.cc/Wtn2b3hC",
},
{