gallery-dl icon indicating copy to clipboard operation
gallery-dl copied to clipboard

[nijie] Skipping issues

Open reyaz006 opened this issue 1 year ago • 3 comments

"extractor": {
        "skip": true,
        "nijie": {
            "archive": "nijie.sqlite3",
            "include": "illustration,doujin",
            "filename": "{artist_id}.{artist_name}.{image_id}_{title[b:80]}_{num:>02}_{filename[b:130]}.{extension}"
        },

Skipping doesn't seem to work here. The app still spends a lot of time fetching URLs of already downloaded files.

reyaz006 avatar Aug 28 '24 10:08 reyaz006

Not sure, what does the full log say? I mean, "skip": true means skipping downloads, so I guess this is still working as expected?

Hrxn avatar Aug 28 '24 16:08 Hrxn

From the log I just see that it fetches URL of each item with 2-3 sec pauses, and it takes a long time to go through some individual artists. I don't want to use abort option because I'm still trying to figure out another issue with images that were somehow not downloaded in previous run.

Is there a separate option to skip fetching the URL if the id is in the database?

reyaz006 avatar Aug 28 '24 22:08 reyaz006

There isn't. Yet.

You could reduce the wait times with --sleep-request, but that makes it likely to yield 429 errors. Or you might manually adjust the starting pagee number etc in the code to skip over some posts that way: https://github.com/mikf/gallery-dl/blob/4b286e80fd3f591b434f84a2ba415e5d22025f60/gallery_dl/extractor/nijie.py#L154

mikf avatar Aug 29 '24 06:08 mikf

I would love to see this enhancement in an upcoming release. I for one would save several hours on each instance if we were able to completely ignore links that were already downloaded without hitting each and every link.

Gerbilnut avatar Oct 22 '24 19:10 Gerbilnut