[kemonoparty] use '"type": "archive"' for 'archives' files (#7195)

This commit is contained in:
Mike Fährmann
2025-03-23 15:07:15 +01:00
parent 4a74bc6e30
commit 62f9335b82
2 changed files with 5 additions and 2 deletions

View File

@@ -147,6 +147,7 @@ class KemonopartyExtractor(Extractor):
elif ext == "txt" and file["extension"] != "txt":
file["_http_validate"] = _validate
elif ext in exts_archive:
file["type"] = "archive"
if archives:
try:
data = self.api.posts_archives(file["hash"])