mikf / gallery-dl

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

Pinterest: change download directory from ./gallery-dl/pinterest/username/board/ to ./gallery-dl/boards #5460

Closed roorco closed 5 months ago

roorco commented 5 months ago

Hi, I'd like to change directory download folder of Pinterst images from ./gallery-dl/pinterest/username/board/ to ./gallery-dl/board. Using the -D option seems to avoid the /pinterest/username/board folder. I've tried also change the base-directory in the config file but nothing seems to work in the way I want. Any suggestion? Thank you

Hrxn commented 5 months ago
{
    "extractor":
    {
        "base-directory": "./gallery-dl/",

        "pinterest":
        {
            "board":
            {
                "directory": ["{board[name]}"],
                "filename": "{category}_{id}{media_id:?_//}.{extension}" 
            }
        }
    }
}
roorco commented 5 months ago

Yes, it worked, thank you