mikf / gallery-dl

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

Kemono config issues, help please #1436

Closed ghost closed 3 years ago

ghost commented 3 years ago

I am getting this error: [downloader.http][warning] '403 Forbidden' [download][error] Failed to download

My config https://pastebin.com/raw/Z7QNT1mL

Can someone tell me what I did wrong

mikf commented 3 years ago

The filename setting for kemonoparty is missing a quote, which causes an error when trying to load this file:

[config][warning] Could not parse 'config.json': Expecting property name enclosed in double quotes: line 36 column 26 (char 920)

Replace "filename": {num:>20} - {filename[:30]}.{extension}", with "filename": "{num:>20} - {filename[:30]}.{extension}", to fix it. Downloading worked for me after that.

ghost commented 3 years ago

OPS I missed that one. Works for me now too, thanks.

One last question, should I enable enumerate or will gallery-dl skip files with identical hash in {id}?

image

mikf commented 3 years ago

It depends. Skipping files with identical filen ("skip": true) is rather useful for Patreon posts where the first two files are usually identical, but for other services like Fanbox where most/all filenames are Untitled.jpg (#1402), "skip": "enumerate" would be better, I think.

ghost commented 3 years ago

Thanks for the quick help. I'm going to enable enumerate and remove any identical file in each folder