mikf / gallery-dl

Command-line program to download image galleries and collections from several image hosting sites
GNU General Public License v2.0
12.08k stars 983 forks source link

[Kemono.party] Can the sqlite file store the hash instead of the number order? #2811

Open a84r7a3rga76fg opened 2 years ago

a84r7a3rga76fg commented 2 years ago

I noticed that some artists will update their posts with new pictures and gallery-dl is skipping those. I think it won't do that if it stores the file hash instead of the number order, is this correct?

enduser420 commented 2 years ago

The default archive format for kemonoparty is {service}_{user}_{id}_{num}, so you can just replace {num} with {hash} or just keep it {hash} in your config.json (configuration.rst)

"extractor": {
    "kemonoparty": {
        "archive-format": "{service}_{user}_{id}_{hash}"
    }
}

--- or ---

"extractor": {
    "kemonoparty": {
      "archive-format": "{hash}"
    }
}
a84r7a3rga76fg commented 2 years ago

That's amazing, but is this worth it? I accidentally deleted my archive file for Kemono.party. Is there any benefit to using hash? Sometimes the artist will update a post with a new picture or whatever, I've no idea if the standard archive format grabs those or skips those since it only tracks the post and number order of the files, if someone could clarify that for me, that'd be nice.