pnpm install
# run in background to build static files
pnpm run watch:all
pnpm run start -- --cookies cookies.log.json --url https://www.v2ph.com/album/am4o344z.html
Of course you need Chrome installed.
Important
as for 2024/06/16, Cloudflare could block request from Puppeteer to prevent scraping. Attaching puppeteer to existing chrome might be an alternative solution, but I'm too lazy to do that. The current implementation can't bypass the login page, so you can only scrap the first page of the album.