mirror of
https://github.com/mikf/gallery-dl.git
synced 2024-11-23 11:12:40 +01:00
[kemonoparty] fix attachment IDs overwriting post IDs (#2984)
regression from 09a5cc61
This commit is contained in:
parent
e1d714943b
commit
779e75c6f8
@ -99,7 +99,8 @@ class KemonopartyExtractor(Extractor):
|
||||
yield Message.Directory, post
|
||||
|
||||
for post["num"], file in enumerate(files, 1):
|
||||
post.update(file)
|
||||
post["hash"] = file["hash"]
|
||||
post["type"] = file["type"]
|
||||
url = file["path"]
|
||||
|
||||
text.nameext_from_url(file.get("name", url), post)
|
||||
|
Loading…
Reference in New Issue
Block a user