Windows 11/10 · Login required · Artworks, Ugoira, Bookmarks, Tags
gallery-dl downloads entire Pixiv artist galleries, your bookmarks, tag searches, and ugoira animations. A free Pixiv account and cookie login are required for full access.
Commands
gallery-dl --cookies-from-browser chrome "https://www.pixiv.net/users/USER_ID"
gallery-dl --cookies-from-browser chrome "https://www.pixiv.net/artworks/ARTWORK_ID"
gallery-dl --cookies-from-browser chrome "https://www.pixiv.net/users/YOUR_USER_ID/bookmarks/artworks"
gallery-dl --cookies-from-browser chrome "https://www.pixiv.net/tags/TAG_NAME/artworks"
gallery-dl --cookies-from-browser chrome "https://www.pixiv.net/bookmark_new_illust.php"
gallery-dl --cookies-from-browser chrome -d "C:\Images\Pixiv" "https://www.pixiv.net/users/USER_ID"
Ugoira animations
Ugoira are Pixiv's frame-based animations. gallery-dl can download the raw ZIP or convert to GIF/WebM with FFmpeg.
gallery-dl downloads ugoira as a ZIP archive containing individual frames. No FFmpeg needed.
gallery-dl --cookies-from-browser chrome "https://www.pixiv.net/artworks/UGOIRA_ID"
Add this to your config.json to automatically convert ugoira to a playable format:
"pixiv": {
"ugoira": true,
"ffmpeg-args": ["-vf", "scale=600:-1"],
"ffmpeg-output": "webm"
}
Config for Pixiv
{
"extractor": {
"pixiv": {
"cookies": "C:/Tools/gallery-dl/pixiv-cookies.txt",
"filename": "{user[name]}_{id}_{num}.{extension}",
"directory": ["Pixiv", "{user[name]}"],
"ugoira": true,
"sleep-request": 1.5,
"metadata": true
}
}
}
ugoira: truemetadata: truesleep-request: 1.5directoryFAQ
--cookies-from-browser chrome.pixiv.net/users/12345678 — the number is the user ID. You can use the full URL directly with gallery-dl.C:\Tools\gallery-dl\ffmpeg.exe) and set "ugoira": true and "ffmpeg-output": "gif" in your config.json Pixiv section. gallery-dl will then automatically convert ugoira to GIF or WebM.gallery-dl --image-filter "type == 'illust'" --cookies-from-browser chrome "URL". Types are: illust, manga, ugoira.