Skip to content

微信通知配置

Server酱

  • SendKey:〈密钥·见Vaultwarden〉
  • API:https://sctapi.ftqq.com/{SendKey}.send

已配置的通知

  • ✅ 青龙面板:签到结果自动推送微信
  • ✅ B站签到脚本:成功/失败均通知
  • ✅ 京东签到脚本:成功/失败均通知
  • ✅ 抢购监控:发现库存立即通知

通知模块(C:\scripts\notify.py)

所有脚本共用,调用方式:

python
from notify import notify
notify("标题", "内容")

手动发送通知

bash
curl -X POST "https://sctapi.ftqq.com/〈密钥·见Vaultwarden〉.send" \
  -d "title=测试&desp=内容"

Server酱 Key 长期有效,但各平台 Cookie 有效期:

  • 京东:约 1 个月
  • B站:约 3 个月 Cookie 过期后会收到失败通知,需重新填写

个人科研与运维文档 · 内容持续修订