Website Monitor Skill
Monitor websites for changes and get alerts when something happens.
Features
- - Change Detection – Track content changes on any website
- Price Tracking – Monitor product prices and get alerts
- New Content – Detect new articles, posts, or listings
- Screenshot Comparison – Visual diff of page changes
- Cron Integration – Automatic periodic checks
Usage
Add a website to monitor
CODEBLOCK0
Check for changes
CODEBLOCK1
View change history
CODEBLOCK2
Use Cases
For Businesses
- - Monitor competitor pricing changes
- Track industry news and blog posts
- Watch for new job postings
- Monitor customer review sites
For Individuals
- - Track product prices on e-commerce sites
- Monitor event ticket availability
- Watch for new apartment/car listings
- Track social media mentions
Implementation
This skill uses curl + diff for simple monitoring:
CODEBLOCK3
Requirements
- - curl
- md5sum
- OpenClaw (for notifications)
License
MIT
网站监控技能
监控网站变化,并在发生变动时接收提醒。
功能特性
- - 变更检测 – 追踪任意网站的内容变化
- 价格追踪 – 监控商品价格并获取提醒
- 新内容发现 – 检测新文章、帖子或列表
- 截图对比 – 页面变化的可视化差异对比
- 定时任务集成 – 自动定期检查
使用方法
添加监控网站
website-monitor add https://example.com/jobs --name 招聘板 --selector .job-listing
检查变更
website-monitor check
查看变更历史
website-monitor history --last 7d
应用场景
企业用途
- - 监控竞争对手价格变动
- 追踪行业新闻和博客文章
- 关注新职位发布
- 监控客户评价网站
个人用途
- - 追踪电商网站商品价格
- 监控活动门票余量
- 关注新房源/车源信息
- 追踪社交媒体提及
实现方式
本技能使用 curl + diff 实现简易监控:
bash
#!/bin/bash
保存当前状态
curl -s $URL | md5sum > $STATE_FILE
与之前状态对比
if ! diff $STATE
FILE $STATEFILE.prev > /dev/null 2>&1; then
echo 检测到变更!
# 通过 OpenClaw 发送提醒
fi
环境要求
- - curl
- md5sum
- OpenClaw(用于通知)
许可证
MIT