[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

@@ -66,6 +66,7 @@ class ImagehostImageExtractor(Extractor):
else:
data = text.nameext_from_url(url)
data["token"] = self.token
data["post_url"] = self.page_url
data.update(self.metadata(page))
if self._https and url.startswith("http:"):