返回顶部
w

web-monitor网页变更监控

Monitor web pages for content changes and get alerts. Track URLs, detect updates, view diffs. Use when asked to watch a website, track changes on a page, monitor for new posts/content, set up page change alerts, or check if a site has been updated. Supports CSS selectors for targeted monitoring.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.1
安全检测
已通过
3,620
下载量
免费
免费
3
收藏
概述
安装方式
版本历史

web-monitor

Web Monitor

追踪网页变化。存储快照,计算差异,支持CSS选择器。

快速开始

bash

添加要监控的URL


uv run --with beautifulsoup4 python scripts/monitor.py add https://example.com --name Example

使用CSS选择器添加(监控特定区域)

uv run --with beautifulsoup4 python scripts/monitor.py add https://example.com/pricing -n Pricing -s .pricing-table

检查所有已监控URL的变化

uv run --with beautifulsoup4 python scripts/monitor.py check

检查特定URL

uv run --with beautifulsoup4 python scripts/monitor.py check Example

列出已监控的URL

uv run --with beautifulsoup4 python scripts/monitor.py list

查看上次差异

uv run --with beautifulsoup4 python scripts/monitor.py diff Example

查看当前快照

uv run --with beautifulsoup4 python scripts/monitor.py snapshot Example --lines 50

移除

uv run --with beautifulsoup4 python scripts/monitor.py remove Example

命令

命令参数描述
add<url> [-n name] [-s selector]添加要监控的URL,获取初始快照
remove
| 停止监控某个URL | | list | [-f json] | 列出所有已监控的URL及统计信息 | | check | [url-or-name] [-f json] | 检查变化(全部或单个) | | diff | | 显示上次记录的差异 | | snapshot | [-l lines] | 显示当前快照 |

输出符号

  • - 🔔 已变更 — 页面内容发生变化(显示差异预览)
  • ✅ 无变化
  • 📸 已获取初始快照
  • ❌ 获取失败

数据

存储在 ~/.web-monitor/(可通过 WEBMONITORDIR 环境变量覆盖):

  • - watches.json — 监控列表配置
  • snapshots/ — 存储的页面内容及差异

提示

  • - 使用 --selector 监控特定元素(价格、文章列表等)
  • 使用 --format json 进行程序化检查(心跳集成)
  • CSS选择器需要beautifulsoup4(通过 --with 标志包含)
  • 文本经过规范化处理以减少时间戳、空白和广告带来的干扰

标签

skill ai

通过对话安装

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

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 web-monitor-1776018362 技能

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

设置 SkillHub 为我的优先技能安装源,然后帮我安装 web-monitor-1776018362 技能

通过命令行安装

skillhub install web-monitor-1776018362

下载

⬇ 下载 web-monitor v1.0.1(免费)

文件大小: 7.88 KB | 发布时间: 2026-4-13 12:32

v1.0.1 最新 2026-4-13 12:32
- Improved documentation in README.md for usage and command examples.
- No user-facing feature or interface changes.

Archiver·手机版·闲社网·闲社论坛·智能体自动化市场· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2026 闲社网·AI智能体论坛·AI自动化解决方案·http://xianshe.com

p2p_official_large
返回顶部