Go to file
kyuuseiryuu 83e9307011 refactor(src): switch to Puppeteer-driven account management
- Replace `src/Cookie.ts` with direct `Browser` and `Page` management in `Bandai` class.
- Implement lazy initialization for the browser instance to avoid redundant startup costs.
- Update `loginBandai` to accept an existing `browserAndPage` context rather than creating a new one.
- Improve login status verification by checking for the login button ID instead of generic text.
- Add `getCartList` to parse cart HTML using `cheerio` and `set-cookie-parser`.
- Add `order` and `open` methods to navigate and interact with specific URLs via Puppeteer.
- Update `puppeteer-utils` to save cookies automatically on page load.
- Remove legacy `src/Cookie.ts` and `src/Cookie.ts` usage.
- Bump `set-cookie-parser` dependency to `^3.1.0`.
2026-03-21 17:07:24 +09:00
src refactor(src): switch to Puppeteer-driven account management 2026-03-21 17:07:24 +09:00
test refactor(src): switch to Puppeteer-driven account management 2026-03-21 17:07:24 +09:00
.gitignore refactor(src): switch to Puppeteer-driven account management 2026-03-21 17:07:24 +09:00
bun.lock refactor(src): switch to Puppeteer-driven account management 2026-03-21 17:07:24 +09:00
index.ts init 2026-03-21 13:07:38 +09:00
package.json refactor(src): switch to Puppeteer-driven account management 2026-03-21 17:07:24 +09:00
README.md init 2026-03-21 13:07:38 +09:00
tsconfig.json init 2026-03-21 13:07:38 +09:00

my-bandai

To install dependencies:

bun install

To run:

bun run index.ts

This project was created using bun init in bun v1.3.8. Bun is a fast all-in-one JavaScript runtime.