Install
openclaw skills install safe-smart-web-fetch安全网页抓取技能。获取网页内容时,默认先判断 URL 是否可能包含 token、是否为内网/本地域名、是否为私密链接;这三类一律不走第三方清洗服务,只走直接抓取。其余公开网页可按顺序尝试 Jina Reader、markdown.new、defuddle.md 获取干净 Markdown,失败再回退原始抓取。
openclaw skills install safe-smart-web-fetch用于安全地获取网页内容。
先判断目标 URL:
.local / 内网主机名以上情况:
第三方顺序:
python3 {baseDir}/scripts/fetch.py "https://example.com/article"
python3 {baseDir}/scripts/fetch.py "https://example.com/article" --json
JSON 模式会返回:
successurlcontentsourceused_third_partyblocked_reasonerrorweb_fetch