mikf / gallery-dl

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

Downloading DeviantART faves to different folders #3198

Open MrSeyker opened 1 year ago

MrSeyker commented 1 year ago

deviantART is about to lose a lot of artists due to their new AI art tools and I want to at least make a back up of my favourites before everything is gone. I was wondering how I could get gallery-dl to download an artist's favourites, but put each pic in subfolders depending on the unsername which originally uploaded the image.

Adding this to my gallery-dl.conf file in the deviantart extractor did the trick.

        "directory": {
            "subcategory is 'favorite'": ["{category}", "{username}", "Favourites", "{author[username]}"]
        },
mikf commented 1 year ago

Just a side note: "subcategory is 'favorite'" is not guaranteed to be true, since is checks for identity and not just equality.

It should at least be "subcategory == 'favorite'", or, even better, use subcategory options:

        "favorite": {
            "directory": ["{category}", "{username}", "Favourites", "{author[username]}"]
        },
MrSeyker commented 1 year ago

Thanks for the heads up. I've ben noticing a couple of stray pics that end up in the deviantart/username folder rather than in the favourites, I'll amend the settings though for now I'll just leave the program running.

afterdelight commented 1 year ago

deviantART is about to lose a lot of artists due to their new AI art tools and I want to at least make a back up of my favourites before everything is gone. I was wondering how I could get gallery-dl to download an artist's favourites, but put each pic in subfolders depending on the unsername which originally uploaded the image.

Adding this to my gallery-dl.conf file in the deviantart extractor did the trick.

        "directory": {
            "subcategory is 'favorite'": ["{category}", "{username}", "Favourites", "{author[username]}"]
        },

sorry off topic, but what do you mean by new AI art tools and losing many artitst?

mikf commented 1 year ago

@afterdelight Search for "deviantart AI dream" and you will find articles like

rautamiekka commented 1 year ago

They already reversed the auto-opt-in plans, meaning you need to manually allow it.