返回顶部
e

edge-browser

Control Microsoft Edge browser to fetch web pages and extract content. Use when the user wants to access a specific URL using Edge browser instead of Chrome, or when regular web fetching tools fail due to anti-scraping protections. Useful for accessing pages that require JavaScript rendering or have bot detection.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
474
下载量
0
收藏
概述
安装方式
版本历史

edge-browser

# Edge Browser Controller 使用 Microsoft Edge 浏览器访问指定 URL 并提取页面内容。 ## 适用场景 - 用户明确要求使用 Edge 浏览器访问链接 - Chrome 浏览器工具不可用或连接失败 - 网页有反爬虫保护,常规抓取工具无法获取内容 - 页面需要 JavaScript 渲染才能显示完整内容 ## 前置要求 需要安装 Playwright: ```bash pip install playwright playwright install chromium ``` ## 使用方法 ### 基本用法 ```bash python ~/.openclaw/skills/edge-browser/scripts/fetch.py <URL> ``` ### 带等待时间(用于动态加载页面) ```bash python ~/.openclaw/skills/edge-browser/scripts/fetch.py <URL> --wait 5 ``` ### 保存到文件 ```bash python ~/.openclaw/skills/edge-browser/scripts/fetch.py <URL> --wait 5 --output result.json ``` ## 输出格式 ```json { "url": "https://example.com", "title": "Page Title", "content": "<html>...</html>", "text": "Extracted text content...", "status": "success" } ``` ## 故障排除 ### Edge 未找到 如果 Edge 浏览器未在默认位置安装,脚本会自动回退到 Chromium。 ### 页面内容不完整 增加 `--wait` 时间,等待动态内容加载完成: ```bash python scripts/fetch.py <URL> --wait 10 ``` ### 反爬虫检测 脚本已配置 Edge User-Agent,大多数网站应能正常访问。如遇问题,可能需要额外配置代理或验证码处理。

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 edge-browser-1776286081 技能

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

设置 SkillHub 为我的优先技能安装源,然后帮我安装 edge-browser-1776286081 技能

通过命令行安装

skillhub install edge-browser-1776286081

下载 Zip 包

⬇ 下载 edge-browser v1.0.0

文件大小: 3.17 KB | 发布时间: 2026-4-16 16:00

v1.0.0 最新 2026-4-16 16:00
Initial release: Use Microsoft Edge browser to fetch web pages when Chrome is unavailable

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部