1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-22 02:32:33 +01:00

[kemonoparty] uses more unique entries for the sqlite3 archive to ensure

that some revisions will not generate the same entry and thus skip their
downloading
This commit is contained in:
orion486 2024-06-17 01:57:32 -07:00
parent 4727ad6f57
commit 27c8abb6f8

View File

@ -26,7 +26,7 @@ class KemonopartyExtractor(Extractor):
root = "https://kemono.su" root = "https://kemono.su"
directory_fmt = ("{category}", "{service}", "{user}") directory_fmt = ("{category}", "{service}", "{user}")
filename_fmt = "{id}_{title[:180]}_{num:>02}_{filename[:180]}.{extension}" filename_fmt = "{id}_{title[:180]}_{num:>02}_{filename[:180]}.{extension}"
archive_fmt = "{service}_{user}_{id}_{num}" archive_fmt = "{service}_{user}_{id}_{num}_{hash}"
cookies_domain = ".kemono.su" cookies_domain = ".kemono.su"
def __init__(self, match): def __init__(self, match):