Closed earthyrock closed 2 years ago
QUESTION: Has the "directory" function been deprecated/modified and if yes, how can I regain the desired output?
There have not been any changes to directory
and, using your config, it correctly downloads to ./gallery-dl/USERID - USERNAME/
.
Since you said you expect it to download to Pixiv\theuserID - theusername\*
, I suspect you are using -d
as command-line option and that has changed in 1.20.0, but will be changed back to the old behavior in v1.20.1. (#2148)
Either use --dest
instead of -d
or just set the appropriate "base-directory"
in the pixiv
block of your config file and don't use -d
at all.
On Github, you can put your config/logs/etc in triple backticks.
``` { "Your config here": null } ```
becomes
{
"Your config here": null
}
Yes, -d. Changed to --dest. Purrrfect! Thanks so much! Have a great rest of your weekend. ;)
Thanks also for pointing out the triple backticks. Had no idea, and adding single backticks each line (front and back) was getting old. ;)
Windows.exe
Under 1.19.2.0 (Only older version I currently have), gallery-dl.conf, Pixiv section
"directory": ["{user[id]} - {user[name]}"],
results in files downloading to folder as expected.Pixiv\theuserID - theusername\*
Under 1.20.0.0 no changes to gallery-dl.conf results in files downloading to Pixiv folder only.
Pixiv\*
QUESTION: Has the "directory" function been deprecated/modified and if yes, how can I regain the desired output?
Pixiv\theuserID - theusername\*
Applicable gallery-dl.conf contents, below:
{
"extractor":
{
"base-directory": "./gallery-dl/",
"postprocessors": null,
"archive": null,
"cookies": null,
"cookies-update": false,
"proxy": null,
"skip": true,
"sleep": 0,
"path-restrict": "auto",
"path-replace": "_",
"path-remove": "\\u0000-\\u001f\\u007f",
"user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36",
"postprocessors": [
{
"name": "ugoira",
"whitelist": ["pixiv", "danbooru"],
"extension": "mp4",
"keep-files": false,
"ffmpeg-twopass": false,
"ffmpeg-args": ["-hide_banner", "-loglevel", "quiet", "-c:v", "libx264", "-b:v", "2M", "-preset", "veryfast", "-pix_fmt", "yuv420p"], "ffmpeg-location": "G:\\00OSz\\12win10b zEnt-LTSC x64 1809\\05Apps\\Multimedia\\Video\\Installed\\ffmpeg\\bin\\ffmpeg.exe"
},
{
"name": "metadata",
"whitelist": ["danbooru", "yandere", "sankaku"],
"mode": "tags"
}
],
"pixiv":
{
"refresh-token": "cache",
"directory": ["{user[id]} - {user[name]}"],
"avatar": false,
"ugoira": true
},
"downloader":
{
"part": true,
"part-directory": null,
"http":
{
"adjust-extensions": true,
"mtime": true,
"rate": null,
"retries": 4,
"timeout": 30.0,
"verify": true
},
"ytdl":
{
"format": null,
"forward-cookies": false,
"mtime": true,
"outtmpl": null,
"rate": null,
"retries": 4,
"timeout": 30.0,
"verify": true
}
},
"output":
{
"mode": "auto",
"progress": true,
"shorten": true,
"log": "[{name}][{levelname}] {message}",
"logfile": null,
"unsupportedfile": null
},
"netrc": false
}}