mikf / gallery-dl

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

Using deviantart gallery search rip I do not get the same date information as normally. #3809

Open left1000 opened 1 year ago

left1000 commented 1 year ago

Using deviantart gallery search rip I do not get the same date information as normally.

I have my normal deviantart ripping settings set to assign the downloaded images a date modified entry of whatever date the file says it is on deviantart's webpage.. but making deviantart downloads via the new extractor for searches sets the date modified entry to the moment it is right now.

    "deviantart":
    {             
        "filename": "{filename}.{extension}",
        "refresh-token": "cache",
        "extra": true,
        "flat": true,
        "folders": false,
        "journals": "html",
        "mature": true,
        "metadata": false,
        "original": true,
        "quality": 100,
        "client-id": "me",
        "client-secret": "working",
        "wait-min": 0
    }

If it matters that appears to be my setting. hmm, it must be a more global setting telling gallery-dl I want EVERYTHING I download to use the date as described above? but it doesn't work for gallery search, and it also doesn't work for any of my custom postprocessors, although I've learned to live with my custom postprocessors creating files with dates not in the date format I enjoy most.

mikf commented 1 year ago

Gallery search works the same way as scraps, so if it works for that, it also works here.

None of your posted settings have any influence over the mtime values used, by the way.

left1000 commented 1 year ago

This is my postprocessor time setting section i think?

"postprocessors": [{ "name": "metadata", "mtime": true, "mode": "custom", "directory" : "Descriptions", "content-format" : "{content}\n" }, { "name": "mtime" }]

Strangely it's written under kemono, but it's working on deviantart too it seems?

Maybe because of this other section?

"downloader": { "part": true, "part-directory": null,

    "http":
    {
        "adjust-extensions": true,
        "mtime": true,
        "rate": null,
        "retries": 4,
        "timeout": 30.0,
        "verify": true
    },