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/..."
```
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 | Summarize a single article |
watch | Add account to watchlist |
unwatch | 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
共 1 个版本