Install
openclaw skills install coze-web-fetchFetch 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-book...
openclaw skills install coze-web-fetchFetch and extract structured content from any URL using coze-coding-dev-sdk. Returns text, images, and links in various output formats.
npx ts-node {baseDir}/scripts/fetch.ts -u "https://example.com/article"
npx ts-node {baseDir}/scripts/fetch.ts \
-u "https://example.com/page1" \
-u "https://example.com/page2"
npx ts-node {baseDir}/scripts/fetch.ts \
-u "https://docs.python.org/3/tutorial/" \
--format markdown
npx ts-node {baseDir}/scripts/fetch.ts \
-u "https://example.com/document.pdf" \
--format json
npx ts-node {baseDir}/scripts/fetch.ts \
-u "https://example.com/article" \
--text-only
| Option | Description |
|---|---|
-u, --url <url> | URL to fetch (required, can be repeated) |
--format <fmt> | json, text, markdown (default: text) |
--text-only | Extract text content only |
--help | Show help message |
| Format | Extensions |
|---|---|
| Office Documents | .doc, .docx, .ppt, .pptx, .xls, .xlsx, .csv |
| Text Files | .txt, .text |
| E-books | .epub, .mobi |
| XML | .xml |
| Images | .jpg, .png, .gif, .webp, etc. |
| Web Pages | .html, .htm, or any URL |
============================================================
FETCHED CONTENT
============================================================
Title: Example Article
URL: https://example.com/article
------------------------------------------------------------
CONTENT
------------------------------------------------------------
[TEXT] This is the main article content...
[IMAGE] https://example.com/image.jpg
[LINK] Related Article -> https://example.com/related
# Example Article
**URL**: https://example.com/article
---
## Content
This is the main article content...

- [Related Article](https://example.com/related)
Raw API response with full content structure.
The fetcher extracts three types of content:
| Type | Description |
|---|---|
| text | Extracted text content from the page |
| image | Image URLs with display information |
| link | Hyperlinks found in the content |
--text-only for cleaner output when you only need text