script to download all pixiv bookmarks
.gitignore | ||
index.js | ||
readme.md |
A script to download your Pixiv bookmarks, because some of them disappear!
How to use
Bypass Cloudflare or it might block the script. Find origin IPs with nslookup pixiv.net
and add to your local DNS or hosts file for www.pixiv.net
.
Create config.json
file:
{
"UserID": "your_pixiv_user_id",
"Cookie": "paste_cookies_here"
}
User ID is in your Pixiv profile url: https://www.pixiv.net/en/users/<user id>
.
Use devtools to get Cookie, select a www.pixiv.net request and copy the entire contents of Cookie header. (todo: not sure which exact cookies are actually needed)
Run Node.js 18+ node .
. All bookmarked images plus meta json are saved in collection
folder. Run again whenever you save new bookmarks.