openclaw-smart-fetch 0.3.2 → 0.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -1
- package/dist/index.js +87 -5
- package/dist/index.js.map +1 -1
- package/openclaw.plugin.json +1 -1
- package/package.json +1 -1
- package/skills/smart-fetch/SKILL.md +4 -1
package/openclaw.plugin.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "smart-fetch",
|
|
3
3
|
"name": "Smart Fetch",
|
|
4
|
-
"version": "0.3.
|
|
4
|
+
"version": "0.3.3",
|
|
5
5
|
"description": "Clean web content extraction with browser-grade TLS fingerprinting. Uses wreq-js (Rust native bindings) for anti-bot bypass and Defuddle for superior content extraction.",
|
|
6
6
|
"skills": ["./skills"],
|
|
7
7
|
"contracts": {
|
package/package.json
CHANGED
|
@@ -57,7 +57,7 @@ Limitations — escalate to the **browser** tool for:
|
|
|
57
57
|
| `headers` | `Record<string,string>` | Custom HTTP headers |
|
|
58
58
|
| `maxChars` | `number` | Max characters to return (default: 50000) |
|
|
59
59
|
| `timeoutMs` | `number` | Request timeout in ms (default: 15000) |
|
|
60
|
-
| `format` | `string` | Output: `markdown` (default), `html`, `text`, `json`
|
|
60
|
+
| `format` | `string` | Output: `markdown` (default), `html`, `text`, `json`, `raw` |
|
|
61
61
|
| `removeImages` | `boolean` | Strip image references (default: false) |
|
|
62
62
|
| `includeReplies` | `boolean` or `"extractors"` | Include comments/replies (default: `"extractors"`) |
|
|
63
63
|
| `proxy` | `string` | HTTP or SOCKS5 proxy URL |
|
|
@@ -72,6 +72,9 @@ Limitations — escalate to the **browser** tool for:
|
|
|
72
72
|
math, callouts, schema.org metadata).
|
|
73
73
|
- **Richer metadata** — returns author, publish date, site name, language,
|
|
74
74
|
word count.
|
|
75
|
+
- **`raw` format** — returns the full unmodified server response (HTML,
|
|
76
|
+
JSON, markdown, etc.) without extraction or truncation. Use when you
|
|
77
|
+
need to parse the raw markup yourself.
|
|
75
78
|
- **No API key required** — works out of the box.
|
|
76
79
|
|
|
77
80
|
## batch_smart_fetch
|