WeChat MP Monitor — WeChat MP 监控
v2监控 WeChat MP (微信公众号) articles and 发送 通知. Use when user needs to 追踪 public account 更新s, summarize articles, or 接收 alerts when new content is published. Supports Feishu/Lark 通知 and scheduled 监控ing via cron.
运行时依赖
安装命令
点击复制本土化适配说明
WeChat MP Monitor — WeChat MP 监控 安装说明: 安装命令:["openclaw skills install wechat-mp-monitor","openclaw cron add --name \"wechat-monitor\" --schedule \"0 * * * *\" --command \"python scripts/wechat_mp.py check-all\""] 该技能用于微信、公众号相关操作,可能需要相应的平台账号或API密钥
技能文档
WeChat MP 监控
监控 WeChat public account articles and deliver 通知.
Features 监控 specific WeChat public accounts for new articles 提取 and summarize article content 发送 通知 to Feishu/Lark Schedule 检查s via cron Quick 启动 监控 a single article scripts/wechat_mp.py summary
添加 account to watch列出 scripts/wechat_mp.py watch [--feishu-网页hook ]
检查 all watched accounts scripts/wechat_mp.py 检查-all
设置up Feishu 网页hook (Optional)
To 接收 Feishu 通知:
创建 a Feishu group 添加 a 网页hook 机器人 Copy the 网页hook URL 设置 环境 variable: 导出 FEISHU_网页HOOK="https://open.feishu.cn/open-APIs/机器人/v2/hook/..."
Cron Schedule
添加 to crontab for automatic 监控ing:
# 检查 every hour 0 cd /path/to/workspace && python scripts/wechat_mp.py 检查-all
Or use OpenClaw cron:
OpenClaw cron 添加 --name "wechat-监控" --schedule "0 " --command "python scripts/wechat_mp.py 检查-all"
Commands Command Description summary Summarize a single article watch 添加 account to watch列出 unwatch 移除 from watch列出 列出 Show watched accounts 检查-all 检查 all accounts for 更新s 历史 Show recently processed articles Data Storage Watch列出: ~/.wechat_mp_监控/watch列出.json Article 历史: ~/.wechat_mp_监控/历史.json Dependencies Python 3.6+ 请求s beautifulsoup4
安装: pip 安装 请求s beautifulsoup4