kp4jd2

Generate a list of links for JD2 from kemono posts. You should set up a packagizer rule so the images sort properly.

As of 2022-03-27. See the latest version.

Author
TKLF
Ratings
0 0 0
Version
0.21
Created
2022-03-17
Updated
2022-03-27
Size
1.76 KB
License
MIT
Applies to

kp4jd2

This is a personal-use jank script, feel free to adapt to your own needs, it's mainly because JD2 natively cannot scrape DDoSGuard sites.
Adds a "Generate List" button under the title of a kemono post, which generates a list of links to your clipboard that can be used with JDownloader 2.
It also appends the post name to the end of the list for ease of use when setting up the package.

List format is as such:
url/a.ext url/b.ext url/c.ext [..] url/z.ext postNAME
images first, then attachments.

NOTE: Massive batch-downloading from kemono will eventually get your ass banned.
Do not use this to attempt to bot the entire site ffs

Packagizer Setup

To ensure images are sorted properly in your filesystem, you should set up a Packagizer rule for kemono so the images sort properly.

    Settings > Packagizer > Add
    Check Downloadurl > contains and then put https[colon]//kemono[dot]party/* (fix the brackets obvs)
    Under filename put <jd:indexof>_<jd:orgfilename>

(This sets the file to use the original/hash filename, but with numbers in front so it sorts by name properly).
The saved filename format using this is:
01_originalfilename.ext
02_originalfilename.ext
[..]
99_originalfilename.ext

NOTE: I've made aware that the Linkgrabber does NOT add links in sequential order from the list since it adds files to the downloadlist in parallel. There should still be a way to do this but I'm in the process of figuring it out.

Usage

    Click the button, go to JD2
    Ctrl+L, paste links
    Put the post name from the end of the links to the package name field
    Uncheck "Information overwrites packagizer rules"
    Click Continue
    ???
    Start download