script to download all pixiv bookmarks
 
Go to file
Lamp fa33969f61 mkdir 2024-03-29 20:05:10 -07:00
.gitignore mkdir 2024-03-29 20:05:10 -07:00
index.js mkdir 2024-03-29 20:05:10 -07:00
readme.md Add readme.md 2024-03-29 21:29:31 -05:00

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.