返回顶部
l

library-book-monitor图书馆图书监控

Monitor library book availability and get notified when books become available for borrowing. Supports Shenzhen Library and extensible for other libraries.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.1
安全检测
已通过
253
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

library-book-monitor

图书馆图书监控技能

用于监控图书馆图书可用性,并在图书可借阅时获取通知的技能。

使用场景

在以下情况下使用此技能:

  • - 追踪深圳图书馆的图书可用性
  • 当图书可借阅时获取通知
  • 监控多本图书及其可用状态
  • 自动化图书馆图书可用性检查

设置

使用此技能前,请确保:

  1. 1. 已安装 Python 3.8+
  2. 已安装依赖项:pip install -r requirements.txt
  3. 已配置 config.yaml 文件(从 config.yaml.example 复制)

命令

添加图书

添加图书 Python编程 作者 Guido van Rossum 并启用监控

列出所有图书

列出所有被监控的图书

检查图书可用性

检查所有图书的可用性

删除图书

删除ID为abc123的图书

切换监控状态

切换图书abc123的监控状态

启动定时监控

启动监控调度器

配置

技能使用 config.yaml 进行配置:

yaml
library:
name: 深圳图书馆
base_url: https://www.szlib.org.cn/
search_url: https://www.szlib.org.cn/opac/
timeout: 30

scheduler:
enabled: true
interval_minutes: 30
retryonfailure: true
max_retries: 3

notification:
enabled: true
methods:
- console
- email
email:
smtp_server: smtp.qq.com
smtp_port: 587
sender: your_email@qq.com
password: yoursmtppassword
recipients:
- recipient@example.com

注意事项

  • - 该技能默认支持深圳图书馆
  • 可通过实现自定义爬虫添加其他图书馆
  • 图书数据存储在 book_list.json 文件中
  • 请设置合理的检查间隔,避免给图书馆服务器造成过载

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 skill-openclaw-library-monitor-1776206959 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 skill-openclaw-library-monitor-1776206959 技能

通过命令行安装

skillhub install skill-openclaw-library-monitor-1776206959

下载

⬇ 下载 library-book-monitor v1.0.1(免费)

文件大小: 14.19 KB | 发布时间: 2026-4-15 11:49

v1.0.1 最新 2026-4-15 11:49
Version 1.0.1

- No functional or documentation changes detected in this version.
- No file changes were made from the previous release.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部