Install
openclaw skills install @cfans731/app-rank-monitor爬取苹果官方和点点数据应用榜单,自动生成日报报告并通过钉钉发送,支持数据管理和历史清理。
openclaw skills install @cfans731/app-rank-monitor版本: v5.0
创建时间: 2026-03-17
更新时间: 2026-03-24 (移除下架检测功能)
状态: ✅ 完成
专注应用榜单爬取和数据统计
核心功能:
| 数据源 | 状态 | 说明 |
|---|---|---|
| 🍎 苹果官方 RSS | ✅ | 免费榜/付费榜/新上架(总榜) |
| 📈 点点数据 | ⚠️ | 需 Cookie(官网注册,有效期 24 小时) |
直接对钳钳说:
- 查看今天的苹果榜单
- 爬取点点榜单
- 发送日报
- 清理过期数据
cd ~/.openclaw/workspace/skills/app-rank-monitor
# 爬取苹果榜单
python src/main.py apple-rank
# 爬取点点榜单
python src/main.py rank --platform diandian
# 查看统计
python tools/show_stats.py
app-rank-monitor/
├── src/
│ ├── main.py # 主入口
│ ├── monitor.py # 监控调度器
│ ├── rankers/ # 榜单爬虫
│ │ ├── apple_ranker.py # 苹果 RSS
│ │ ├── diandian.py # 点点数据
│ │ └── diandian_android.py # 点点安卓渠道
│ ├── models/ # 数据模型
│ ├── notifiers/ # 通知发送
│ └── reporters/ # 报告生成
├── config/
│ ├── dingtalk.yaml # 钉钉配置
│ ├── diandian.yaml # 点点配置
│ └── ios_rank.yaml # 苹果榜单配置
├── database/
│ └── apps.db # SQLite 数据库
├── logs/ # 日志文件
└── docs/ # 文档
编辑 config/dingtalk.yaml:
dingtalk:
client_id: "你的企业应用 client_id"
client_secret: "你的企业应用 client_secret"
chat_id: "群聊 ID"
webhook: "机器人 Webhook"
编辑 config/diandian.yaml:
diandian:
cookie: "你的 Cookie(含 token)"
获取 Cookie:
已配置定时任务:
查看任务状态:
openclaw cron list
# 查看定时任务
openclaw cron list
# 手动触发爬取
openclaw cron run <task-id>
# 查看执行日志
cat logs/cron_execution.log
# 查看数据库统计
python tools/show_stats.py
src/detectors/)OfflineAppRecord, AppleOfflineAlert)offline 命令--detect-offline 参数qimai_browser.py)config/qimai.yaml)症状: 日报无数据,收到告警通知
解决:
config/diandian.yamlpython src/main.py rank --send-report检查:
openclaw cron list
openclaw cron runs --id <task-id>
docs/配置说明.md - 详细配置指南docs/定时任务配置说明.md - 定时任务设置docs/故障排查指南.md - 常见问题解决随时问钳钳!