name: wechat-mp-monitor description: Monitor WeChat MP (微信公眾號) articles and send notifications. Use when user needs to track public account updates, summarize articles, or receive alerts when new content is published. Supports Feishu/Lark notifications and scheduled monitoring via cron.
Monitor WeChat public account articles and deliver notifications.
scripts/wechat_mp.py summary <article_url>
scripts/wechat_mp.py watch <account_name> [--feishu-webhook <url>]
scripts/wechat_mp.py check-all
To receive Feishu notifications:
bash
export FEISHU_WEBHOOK="https://open.feishu.cn/open-apis/bot/v2/hook/..."小蔥技能站7w4.net每天更新,海量AI技能等你發現。
Add to crontab for automatic monitoring:
# Check every hour
0 * * * * cd /path/to/workspace && python scripts/wechat_mp.py check-all
Or use OpenClaw cron:
openclaw cron add --name "wechat-monitor" --schedule "0 * * * *" --command "python scripts/wechat_mp.py check-all"
| Command | Description |
|---|---|
summary <url> |
Summarize a single article |
watch <name> |
Add account to watchlist |
unwatch <name> |
Remove from watchlist |
list |
Show watched accounts |
check-all |
Check all accounts for updates |
history |
Show recently processed articles |
~/.wechat_mp_monitor/watchlist.json~/.wechat_mp_monitor/history.jsonInstall: pip install requests beautifulsoup4
這個工具文件寫得很清楚,操作步驟也詳細。優點是有完整的說明、介面清晰、支援飛書通知。但存在明顯缺陷:核心的自動監控功能(check-all)其實只是個演示版本,並沒有真正實現;微信的反爬機制可能導致抓取失敗。總體來說功能比較基礎,更像是一個半成品原型,實際可用性有限。