lanhu_download_design
Download design drafts from Lanhu by extracting HTML/CSS code and images, replacing CDN URLs with local paths for offline use.
Instructions
一键下载蓝湖设计稿:通过 Puppeteer 从 DDS 页面提取官方生成的 HTML/CSS 代码 + 下载所有 CDN 切图并替换为本地路径。输出 index.html / index.css / flexible.js / common.css + img/。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| imageId | Yes | 设计稿 image_id(从蓝湖 URL 中获取) | |
| projectId | No | 项目 UUID(不传则使用默认配置) | |
| outputPath | Yes | 输出目录路径(如 ~/Desktop/my-design) |