3 Commits

Author SHA1 Message Date
8831882462 Merge download workflow into run script 2026-02-02 18:26:25 +08:00
047e5f2766 Support ENV_CDP and HTTP CDP endpoints 2026-02-02 18:13:51 +08:00
dc6cb1513b Add Node.js workflow implementation with Puppeteer integration
- Introduce run.mjs to orchestrate full workflow: Puppeteer opens a browser with mobile viewport (390x844 @ dpr 3), navigates to capture URL, records network requests for media, takes a viewport screenshot, then calls download.mjs to batch download assets.
- Implement download.mjs to handle asset downloading with same behavior as Python version (retry, zero-byte cleanup, unique naming, save urls.txt, delete input file).
- Update AGENTS.md to document the new primary workflow and keep manual download instructions for both Python and Node.js.
- Support title extraction from page title for folder naming.
2026-02-02 17:42:38 +08:00