url-images-to-pdf

从URL提取图片并生成PDF(保持原文顺序,不排序)

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "url-images-to-pdf" with this command: npx skills add jerryliu3502/url-images-to-pdf

URL图片转PDF技能

功能

从网页URL提取图片并生成PDF文件

前置要求

  1. Node.js 已安装
  2. pdfkit 已安装: npm install -g pdfkit

方式## 使用方法1: 命令行

# 安装依赖
npm install -g pdfkit

# 运行脚本
node ~/.openclaw/workspace/skills/url-images-to-pdf/extract.js <URL> [输出文件名]

方式2: 在OpenClaw中调用

直接运行:

node ~/.openclaw/workspace/skills/url-images-to-pdf/extract.js "https://example.com/article"

输出

  • PDF文件保存在当前目录或指定目录
  • 自动从网页提取PNG/JPG图片

依赖安装

npm install -g pdfkit

示例

提取微信文章图片并生成PDF:

node ~/.openclaw/workspace/skills/url-images-to-pdf/extract.js "https://mp.weixin.qq.com/s/XXXX"

注意事项

  • 需要网络访问权限
  • 某些网站可能有反爬措施
  • 建议先提取图片,确认数量后再生成PDF

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

claw-text-and-pics

Extract text and embedded images from scanned documents, PDFs, and photos via Mistral OCR API. Use when reading receipts, invoices, contracts, handwritten no...

Registry SourceRecently Updated
1110Profile unavailable
Automation

PDFExtract Pull Text from PDFs

Extract clean readable text from PDF files into agent-ready markdown. Multi-page, tables, headers. No external services.

Registry SourceRecently Updated
3770Profile unavailable
Coding

pdf-to-latex-mineru

Convert PDF documents to LaTeX source code using MinerU AI extraction. Designed for researchers, academics, and scientists who need to re-edit, re-typeset, o...

Registry SourceRecently Updated
1240Profile unavailable
General

Web to PDF

Convert a web page to PDF, especially web-based slide decks and presentations (reveal.js, impress.js, custom JS slideshows, scroll-based decks). Use when the...

Registry SourceRecently Updated
2380Profile unavailable