6 Commits

Author SHA1 Message Date
2f3dfb3028 添加 README.md 文件,包含项目要求、使用方法、输出说明和注意事项 2026-02-02 18:32:43 +08:00
8df4d5c0d9 添加 .gitignore 文件,包含 node_modules、temp、日志和系统文件;创建 package.json 和 package-lock.json,定义 Playwright 依赖 2026-02-02 18:31:35 +08:00
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
96afeb5e1c Initialize repo and update asset guidelines 2026-02-02 17:11:34 +08:00