闲社服务运行正常AI智能体自动化平台
c

Coze网页抓取

技能标识:coze-web-fetch

Fetch and extract content from URLs using coze-coding-dev-sdk. Supports web pages, PDF, Office documents (doc/docx/ppt/pptx/xls/xlsx/csv), text files, e-books (epub/mobi), XML, and images. Returns structured content with text, images, and links.

作者:admin | 来源记录:ClawHub
登记来源
ClawHub
版本
V 0.1.0
检测标记
后台标记通过
免费
免费获取
0
收藏
来源与检测标记为平台登记信息,并不代表已展示可复核的检测报告。使用前请核对版本、依赖和所需权限,建议先在隔离环境中运行。
概述
安装方式
版本历史

Coze网页抓取

技能名称: coze-web-fetch
详细描述:

Coze Web Fetch

使用 coze-coding-dev-sdk 从任意 URL 获取并提取结构化内容。以多种输出格式返回文本、图片和链接。

快速开始

基础获取

bash
npx ts-node {baseDir}/scripts/fetch.ts -u https://example.com/article

多个 URL

bash
npx ts-node {baseDir}/scripts/fetch.ts \
-u https://example.com/page1 \
-u https://example.com/page2

输出为 Markdown

bash
npx ts-node {baseDir}/scripts/fetch.ts \
-u https://docs.python.org/3/tutorial/ \
--format markdown

输出为 JSON

bash
npx ts-node {baseDir}/scripts/fetch.ts \
-u https://example.com/document.pdf \
--format json

仅文本(无图片/链接)

bash
npx ts-node {baseDir}/scripts/fetch.ts \
-u https://example.com/article \
--text-only

脚本选项

选项描述
-u, --url <url>要获取的 URL(必需,可重复)
--format <fmt>
json、text、markdown(默认:text) | | --text-only | 仅提取文本内容 | | --help | 显示帮助信息 |

支持的文档格式

格式扩展名
PDF.pdf
Office 文档
.doc、.docx、.ppt、.pptx、.xls、.xlsx、.csv | | 文本文件 | .txt、.text | | 电子书 | .epub、.mobi | | XML | .xml | | 图片 | .jpg、.png、.gif、.webp 等 | | 网页 | .html、.htm 或任意 URL |

输出格式

文本(默认)

============================================================
获取的内容
============================================================
标题: Example Article
URL: https://example.com/article



内容


[文本] 这是主要文章内容...

[图片] https://example.com/image.jpg

[链接] 相关文章 -> https://example.com/related

Markdown

markdown

Example Article

URL: https://example.com/article



内容

这是主要文章内容...

图片

JSON

原始 API 响应,包含完整的内容结构。

内容类型

该提取器可提取三种类型的内容:

类型描述
文本从页面提取的文本内容
图片
包含显示信息的图片 URL |
| 链接 | 内容中找到的超链接 |

注意事项

  • - 当只需要文本时,使用 --text-only 可获得更简洁的输出
  • PDF 和 Office 文档会自动解析
  • 图片会重新签名以确保安全访问
  • 单个命令可获取多个 URL

标签

skill ai

通过对话安装

以下为平台配置的接入选项,并非逐项实测通过。能否安装取决于客户端支持、技能来源和运行环境:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 coze-web-fetch-1776075610 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 coze-web-fetch-1776075610 技能

通过命令行安装

skillhub install coze-web-fetch-1776075610

下载

⬇ 下载 coze-web-fetch v0.1.0(免费)

文件大小: 3.78 KB | 发布时间: 2026-4-15 12:20

v0.1.0 最新 2026-4-15 12:20
Initial release.

- Fetch and extract content from URLs using coze-coding-dev-sdk.
- Supports web pages, PDF, Office documents, text files, e-books, XML, and images.
- Returns structured output with text, images, and links.
- Offers output in text, markdown, or JSON formats.
- Allows fetching multiple URLs in a single command.
- Provides options for text-only extraction.
返回顶部