[kemonoparty] use '"type": "archive"' for 'archives' files (#7195)
This commit is contained in:
@@ -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"])
|
||||
|
||||
Reference in New Issue
Block a user