← 返回 Skills 市场
1lou Auto Follow
作者
bluepop1991-cloud
· GitHub ↗
· v1.0.0
· MIT-0
84
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install 1lou-auto-follow
功能描述
管理追剧清单,自动检查并推送1lou网站的最新剧集更新。
使用说明 (SKILL.md)
1lou自动追剧
网站域名(按优先级)
- https://1lou.me(首选)
- https://1lou.one(备用)
- https://1lou.icu(备用)
- https://1lou.xyz(备用)
- https://1lou.info(备用)
- https://1lou.vip(备用)
- https://1lou.pro(备用)
连接检测与重试
- 首次尝试连接首选域名 https://1lou.me
- 如果连接失败(超时/ERR_CONNECTION_TIMED_OUT),自动切换到下一个域名
- 切换顺序:1lou.me → 1lou.one → 1lou.icu → 1lou.xyz → 1lou.info → 1lou.vip → 1lou.pro
- 每个域名至少重试2次
- 选择第一个能够成功连接的域名进行搜索和下载
重要:检测网站可用性时,只检测以下域名,不要自行尝试其他域名:
- 1lou.me(首选)
- 1lou.one
- 1lou.icu
- 1lou.xyz
- 1lou.info
- 1lou.vip
- 1lou.pro
- 不要检测:1lou.com, 1lou.cc, 1lou.net(这些域名不存在!)
触发条件
- 定时任务触发(每天凌晨4点)
- 用户询问追剧相关功能
追剧清单文件
路径:/Users/bluepop/.openclaw/scripts/drama_watchlist.json
格式:
{
"drama_list": [
{
"name": "剧名",
"downloaded_episodes": [1, 2, 3],
"search_keyword": "搜索用的关键字"
}
]
}
重要:search_keyword是成功下载时使用的搜索关键字,后续自动追剧时使用该关键字搜索。
工作流程(定时任务)
1. 检查清单
- 读取drama_watchlist.json
- 如果为空,回复"追剧清单为空,任务跳过"
2. 搜索更新
- 按以下顺序尝试连接:1lou.me → 1lou.one → 1lou.icu → 1lou.xyz → 1lou.info → 1lou.vip → 1lou.pro
- 使用第一个能够成功连接的域名
- 对清单中的每个剧进行搜索
- 使用search_keyword字段进行搜索(不是用name)
3. 过滤规则(重要!必须先过滤再计数)
先过滤,后计数!
排除包含以下关键词的资源:
- 网盘
- 夸克
- 片源
- 无字
过滤后再提取集数信息,计算可下载的新集数。
4. 推送结果
- 格式:剧名 | 集数 | 大小 | 链接
- 无论是否有新资源,都要告知用户检查结果
5. 用户确认下载后,添加种子到qBittorrent
第一步:先尝试curl命令下载
curl -sL -o /tmp/xxx.torrent "https://1lou.one/attach-download-xxxxx.htm"
- 如果curl成功,直接用种子文件添加到qBittorrent
- 如果curl失败,尝试其他域名或用浏览器下载
- 重试:最多3次
第二步:使用浏览器下载
- 用浏览器打开种子下载链接
- 检查以下位置(按顺序):
- 临时目录:
/var/folders/0g/tdp7p0zn7x3gbbtyysptxrvm0000gn/T/playwright-artifacts-*/ - 下载目录:
/Users/bluepop/Downloads/
- 临时目录:
- 找到最新的BitTorrent文件
- 复制到Downloads目录(如在临时目录)
- 用找到的文件添加到qBittorrent
- 重试:最多3次
6. 更新追剧清单
下载完成后,更新drama_watchlist.json中的downloaded_episodes
加入追剧清单
- 用户手动搜索并下载某剧集
- 下载完成后,询问用户是否加入追剧
- 用户确认后,更新drama_watchlist.json
- 记录downloaded_episodes
- 记录search_keyword(本次搜索使用的关键字)
退出追剧清单
用户手动告诉退出某剧集,从drama_watchlist.json中移除
定时任务配置
- 任务名称:1lou追剧推送
- 执行时间:每天凌晨4:00
- 任务ID:bd2e8e58-2c7c-4cbc-879f-c7a546793efb
服务配置
- 1lou:https://1lou.me(首选)→ 1lou.one → 1lou.icu → 1lou.xyz → 1lou.info → 1lou.vip → 1lou.pro
- qBittorrent:192.168.1.38:8085
- n8n:192.168.1.38:5678
安全使用建议
This skill is suspicious rather than clearly malicious. Things to consider before installing or running it:
- The documentation and the code disagree in several ways (domain priority, watchlist field name, and whether the skill auto-downloads and adds torrents). That inconsistency could be a sign of sloppy engineering or an incomplete/partially-implemented skill. Don't assume the SKILL.md behavior (automatic torrent downloads, browser automation, checking temp folders, qBittorrent uploads) is implemented just because it's documented.
- The code runs shell commands via execSync (curl). This is expected for web-scraping but gives the skill ability to run arbitrary shell commands if the code were changed. Review any user-provided inputs that could be injected into shell commands. In the provided code, the search URL is URL-escaped, which reduces injection risk.
- The skill hardcodes a specific user path (/Users/bluepop/...) and LAN addresses (192.168.1.38). If you are not that user or don't want it to access those paths/hosts, do not run it as-is. Prefer configuration options or environment variables rather than hardcoded paths/IPs.
- If you want automatic adding of torrents to qBittorrent, insist on a clear, auditable mechanism (qBittorrent Web API with authenticated calls), rather than file-system scraping or opening browser downloads.
- Recommendations: (1) Fix the field-name mismatch (search_keyword vs keyword) and make the watchlist path configurable (or relative). (2) Make domain selection and result URLs consistent (use the selected domain when building result links). (3) Remove or explicitly gate instructions that walk arbitrary local temp directories. (4) If automatic downloads are required, implement authenticated API calls to qBittorrent and avoid shelling out to browsers or scanning system temp folders. (5) Run the code in a sandbox and review/modify hardcoded paths/addresses before use.
If you don't have the ability to audit or test the code safely, treat this skill as untrusted and avoid installing or running it on your main machine.
功能分析
Type: OpenClaw Skill
Name: 1lou-auto-follow
Version: 1.0.0
The skill contains hardcoded absolute file paths for a specific user profile ('/Users/bluepop/'), which is highly irregular and suggests it is either a targeted script or poorly generalized for public use. It utilizes 'execSync' to execute shell commands (curl) with parameters derived from a local JSON file, creating a potential command injection surface despite the use of 'encodeURIComponent'. While the functionality aligns with the stated goal of tracking drama updates on various '1lou' domains (e.g., 1lou.me, 1lou.icu), the environment-specific targeting and risky execution patterns in 'index.js' and 'SKILL.md' make it a security risk.
能力评估
Purpose & Capability
The stated purpose—manage a watchlist and check 1lou site updates—matches what the code mostly does (web-scrape and report). However there are inconsistencies: SKILL.md prioritizes domains starting with 1lou.me → .one → .icu, while index.js's DOMAINS order is different and the parser always builds result URLs using https://1lou.icu regardless of the chosen domain. SKILL.md expects a watchlist field named search_keyword, but index.js reads item.keyword. These mismatches mean the implementation does not reliably do exactly what the documentation claims.
Instruction Scope
SKILL.md contains operational steps beyond what index.js implements: it describes automatic torrent downloads via curl, browser-download fallback, looking through temp/playwright artifact directories, and adding torrents to qBittorrent (and references local qBittorrent and n8n hosts). The index.js provided only reads a watchlist, performs searches using curl, parses HTML and returns a report — it does not perform downloads, inspect temp folders, or interact with qBittorrent. The SKILL.md also instructs checking specific local paths (/Users/bluepop/... and /var/folders/...), which is privacy-sensitive and grants the agent broad discretion in the real instructions.
Install Mechanism
This is instruction-plus-code with no install spec; nothing is downloaded or written during install. No external install URLs or packaged installers are present.
Credentials
The skill requests no environment variables or credentials, which is proportionate. However SKILL.md hardcodes a user-specific watchlist path (/Users/bluepop/...) and local service addresses (qBittorrent and n8n at 192.168.1.38) — these are configuration assumptions that may be inappropriate for other users and imply access to local files and LAN services if the skill were extended to act on them. The mismatch between 'search_keyword' (doc) and 'keyword' (code) is also a configuration inconsistency.
Persistence & Privilege
The skill is not marked always:true and does not request any platform-level persistence. It is user-invocable and can be run autonomously per platform defaults; that alone is expected. The code does read a file in the user's home directory but does not modify other skills or global configuration.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install 1lou-auto-follow - 安装完成后,直接呼叫该 Skill 的名称或使用
/1lou-auto-follow触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
1lou-auto-follow v1.0.0
- 首次发布:管理追剧清单,自动检查并推送1lou网站的最新剧集更新。
- 自动连接多个1lou备选域名,智能重试与切换,确保可用性。
- 支持定时任务(日常凌晨4点)和用户主动查询追剧更新。
- 针对追剧清单的每部剧,自动过滤无效资源并推送新集数下载通知。
- 下载种子支持curl及浏览器双重模式,失败自动重试。
- 自动更新本地追剧进度清单,可灵活加入、退出追剧。
元数据
常见问题
1lou Auto Follow 是什么?
管理追剧清单,自动检查并推送1lou网站的最新剧集更新。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 84 次。
如何安装 1lou Auto Follow?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install 1lou-auto-follow」即可一键安装,无需额外配置。
1lou Auto Follow 是免费的吗?
是的,1lou Auto Follow 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
1lou Auto Follow 支持哪些平台?
1lou Auto Follow 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 1lou Auto Follow?
由 bluepop1991-cloud(@bluepop1991-cloud)开发并维护,当前版本 v1.0.0。
推荐 Skills