url-images-to-pdf
SKILL.md
URL图片转PDF技能
功能
从网页URL提取图片并生成PDF文件
前置要求
- Node.js 已安装
- pdfkit 已安装:
npm install -g pdfkit
方式## 使用方法1: 命令行
# 安装依赖
npm install -g pdfkit
# 运行脚本
node ~/.openclaw/workspace/skills/url-images-to-pdf/extract.js <URL> [输出文件名]
从网页URL提取图片并生成PDF文件
npm install -g pdfkit# 安装依赖
npm install -g pdfkit
# 运行脚本
node ~/.openclaw/workspace/skills/url-images-to-pdf/extract.js <URL> [输出文件名]