📦 WeRead Book Finder — 技能工具
v1.0.1输入图书名称,优先在微信读书搜索并加入书架;若微信读书没有可信命中或无法加入书架,则自动回退到 Z-Library 搜索并优先下载非 PDF 格式。适用于“把《xxx》加入微信读书书架,不行就去 Z-Library 下载”这类请求。
0· 227·0 当前·0 累计
安全扫描
OpenClaw
安全
medium confidenceThe skill's code and instructions align with its description (attempt WeRead, fall back to Z-Library and download), but it persistently reuses a browser profile and automates downloads from a third‑party site, which has privacy and legal implications the user should consider.
安全有层次,运行前请审查代码。
运行时依赖
无特殊依赖
版本
latestv1.0.12026/3/16
Improve skill description and clarify WeRead-first with Z-Library fallback behavior.
● 无害
安装命令
点击复制官方npx clawhub@latest install weread-book-finder
🇨🇳 镜像加速npx clawhub@latest install weread-book-finder --registry https://cn.longxiaskill.com
技能文档
使用 Playwright 脚本自动化处理书籍获取与回退下载。
前提
环境依赖:
python3playwright(安装 Chromium:playwright install chromium)requestsbeautifulsoup4
快速使用
指定书名运行:
python3 skills/weread-book-finder/scripts/find_book.py "书名"
登录态管理
由于微信读书和 Z-Library 需要登录,建议固定使用 profile 目录,避免重复登录:
# 登录微信读书
python3 skills/weread-book-finder/scripts/find_book.py --login weread --headed# 登录 Z-Library
python3 skills/weread-book-finder/scripts/find_book.py --login zlib --headed
后续运行脚本时,会自动复用已登录的浏览器会话。
推荐执行策略
- 默认模式:直接运行脚本,脚本会自动尝试微信读书。若微信读书找不到,脚本会无缝切换至 Z-Library 搜索并下载。
- 严格标题优先:优先精确标题;短标题若只有模糊命中,不会直接误加,而是返回候选后走后备链路。
- 作者辅助匹配:支持输入
书名 / 作者、书名 | 作者、书名 by 作者这类形式,脚本会把作者纳入排序。 - 候选结果可见:输出里会附带前 5 个候选,便于调试和人工确认。
- 调试模式:添加
--headed参数可以打开浏览器窗口观察执行过程。 - 文件保存:下载的电子书默认保存在
~/Downloads/OpenClaw-Books。
数据来源:ClawHub ↗ · 中文优化:龙虾技能库