← 返回
未分类

Boxed Fetch

Lightweight web scraping tool based on WebAssembly sandbox mechanism. Fetches URL content and extracts readable text. Use when you need to fetch webpage cont...
轻量级基于 WebAssembly 沙箱的网页抓取工具,获取 URL 内容并提取可读文本,适用于需要抓取网页内容的场景
guyoung guyoung 来源
未分类 clawhub v1.0.0 1 版本 99665.6 Key: 无需
★ 0
Stars
📥 298
下载
💾 0
安装
1
版本
#latest

概述

boxed-fetch

WebAssembly-based sandboxed web fetcher for retrieving URL content and extracting readable text.

Trigger when: user asks to fetch a URL, scrape webpage content, extract readable text from HTML, or get page content from a specific URL / 抓取网页、获取URL内容、提取可读文本、网页内容抓取。

Quick Start

  1. Download WASM file (first time only):

```

wasm-sandbox-download({

url: "https://raw.githubusercontent.com/guyoung/wasm-sandbox-openclaw-skills/main/boxed-fetch/files/boxed-fetch-component.wasm",

dest: "~/.openclaw/skills/boxed-fetch/files/boxed-fetch-component.wasm"

})

```

  1. Run fetch:

```

wasm-sandbox-run({

wasmFile: "~/.openclaw/skills/boxed-fetch/files/boxed-fetch-component.wasm",

allowedOutboundHosts: [""],

args: [""]

})

```

Fetching a URL

wasm-sandbox-run({
  wasmFile: "~/.openclaw/skills/boxed-fetch/files/boxed-fetch-component.wasm",
  allowedOutboundHosts: ["https://github.com"],
  args: ["https://github.com/guyoung/wasm-sandbox-node/blob/main/README.md"]
})

Getting Help

wasm-sandbox-run({
  wasmFile: "~/.openclaw/skills/boxed-fetch/files/boxed-fetch-component.wasm",
  allowedOutboundHosts: [],
  args: ["--help"]
})

Important Notes

  • allowedOutboundHosts is required: You must specify the exact host(s) you want to fetch from
  • First use: Download the WASM file before running for the first time
  • URLs must use HTTPS: The sandbox only supports HTTPS URLs

Detailed Usage

See references/usage.md for comprehensive usage instructions including all options and examples.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-07 20:16 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

Boxed fs

guyoung
WebAssembly 沙箱文件系统操作,用于在明确声明的目录中进行安全的文件读取、写入、追加、复制等。
★ 0 📥 372

Graphviz

guyoung
使用 WebAssembly 将 Graphviz DOT 图生成 SVG 图像,依赖 openclaw-wasm-sandbox 插件中的 graphviz_component.wasm,无需安装 Graphviz 系统。
★ 0 📥 382

Boxed HTTP Server

guyoung
WebAssembly 沙箱静态 HTTP 服务器,支持 HTTP 基本认证和代理。用于启动静态文件服务器、配置 HTTP 认证、设置...
★ 0 📥 421