返回顶部
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
安全检测
已通过
286
下载量
0
收藏
概述
安装方式
版本历史

library-book-monitor

# Library Book Monitor Skill A skill to monitor library book availability and get notified when books become available for borrowing. ## When to Use Use this skill when you want to: - Track book availability at Shenzhen Library - Get notified when a book becomes available for borrowing - Monitor multiple books and their availability status - Automate library book availability checking ## Setup Before using this skill, ensure: 1. Python 3.8+ is installed 2. Dependencies are installed: `pip install -r requirements.txt` 3. Configuration file `config.yaml` is set up (copy from `config.yaml.example`) ## Commands ### Add a Book ``` Add book "Python Programming" by "Guido van Rossum" with monitoring enabled ``` ### List All Books ``` List all monitored books ``` ### Check Book Availability ``` Check availability of all books ``` ### Remove a Book ``` Remove book with ID abc123 ``` ### Toggle Monitoring ``` Toggle monitoring for book abc123 ``` ### Start Scheduled Monitoring ``` Start monitoring scheduler ``` ## Configuration The skill uses `config.yaml` for settings: ```yaml library: name: "Shenzhen Library" base_url: "https://www.szlib.org.cn/" search_url: "https://www.szlib.org.cn/opac/" timeout: 30 scheduler: enabled: true interval_minutes: 30 retry_on_failure: 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: your_smtp_password recipients: - recipient@example.com ``` ## Notes - The skill supports Shenzhen Library by default - Other libraries can be added by implementing custom scrapers - Book data is stored in `book_list.json` - Please set reasonable check intervals to avoid overloading library servers

标签

skill ai

通过对话安装

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

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 library-book-monitor-1776203060 技能

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

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

通过命令行安装

skillhub install library-book-monitor-1776203060

下载 Zip 包

⬇ 下载 library-book-monitor v1.0.1

文件大小: 13.92 KB | 发布时间: 2026-4-15 10:53

v1.0.1 最新 2026-4-15 10:53
- Added core modules: book manager, scheduler, scraper, and notification support.
- Introduced config file for flexible library, scheduling, and notification settings.
- Implemented main script for command-line operations: add, list, check, remove, toggle, and monitor books.
- Skill now supports scheduled background monitoring and notification when book availability changes.
- Dependency management and initial project structure established.

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

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

p2p_official_large
返回顶部