movie-monitor

115网盘电影自动监控下载 pipeline。抓取 6v520.cc 近3天更新电影, 智能过滤评分(IMDb/豆瓣任一>=6分),添加到115离线下载, 自动复制到NAS并重命名,支持 TMDB 元数据刮削。 适用于已有 115 离线下载 + NAS 存储方案的用户。

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "movie-monitor" with this command: npx skills add yuexinguo/movie-monitor

movie-monitor

115网盘电影自动监控下载 pipeline。

功能

  1. 电影监控:抓取 6v520.cc 近3天更新电影
  2. 智能过滤:IMDb 或豆瓣评分 >=6 才下载,低于6分自动跳过
  3. 115离线下载:自动添加磁力到 115 云端
  4. NAS同步重命名:复制到本地 NAS,目标格式 电影名(年份).后缀
  5. 115端同步重命名:NAS 复制完成后,同步重命名 115 上的脏名文件夹和视频文件
  6. TMDB元数据:自动刮削 poster/fanart/logo/nfo

安装配置

1. 安装依赖

pip install requests beautifulsoup4 lxml

2. 配置 115 Cookie

从浏览器登录 https://115.com,按 F12 → Console → 输入 document.cookie,将输出的 Cookie 内容保存到:

~/.openclaw/scripts/movie-monitor/115_cookie_manual.json

格式(JSON):

{
  "cookie": "UID=xxx; USERSESSIONID=xxx; SEID=xxx; ...",
  "cookies": [
    {"domain": ".115.com", "name": "UID", "value": "xxx", "path": "/"},
    ...
  ]
}

3. 配置本地路径

确认以下挂载点存在:

  • /mnt/public/CloudDrive/115open/云下载 — 115 挂载目录
  • /mnt/media/115 — NAS 目标目录
  • /mnt/media/电影 — 第二个 NAS 目标目录(用于去重判断)

4. 配置 Node.js 重命名工具(可选)

115 云端重命名依赖:

~/.openclaw/scripts/115-renamer/cookie.json   # 同上的 cookie 字符串
~/.openclaw/scripts/115-renamer/115.js       # Node.js 重命名脚本

115-renamer 可从 Windows 版 OpenClaw 导出的 115-renamer.zip 解压得到。

5. 添加 Cookie 更新 Cron 提醒(建议)

115 Cookie 约7天过期,建议配置每周提醒:

周日 10:00 提醒手动更新 Cookie

使用方式

手动运行

# 步骤1:抓取新电影并添加到 115
python3 ~/.openclaw/scripts/movie-monitor/movie_pipeline.py --mode=monitor

# 或完整流水线(含 NAS 复制重命名)
python3 ~/.openclaw/scripts/movie-monitor/movie_pipeline.py

定时任务配置

建议配置两个 cron 任务:

任务1 — 每天 20:00:抓取电影添加到 115

0 20 * * *  cd ~/.openclaw/scripts/movie-monitor && python3 movie_pipeline.py --mode=monitor

任务2 — 每天 21:00:NAS 复制 + 重命名

0 21 * * *  cd ~/.openclaw/scripts/movie-monitor && python3 copy_and_rename_movies.py

手动测试

# 测试 115 登录状态
python3 -c "from client_115 import Client115; c=Client115(); c.load_cookie(); print('OK' if c.is_logged_in() else '失效')"

# 测试电影抓取(不添加下载)
python3 -c "
import sys; sys.path.insert(0, '~/.openclaw/scripts/movie-monitor')
from movie_monitor_simple import MovieMonitor
m = MovieMonitor()
movies = m.fetch_movies()
for m2 in movies:
    d = m2.get('douban_rating'); i = m2.get('imdb_rating')
    print(f\"{m2['title']} 豆瓣:{d} IMDb:{i}\")
"

评分过滤规则

IMDb 或豆瓣评分,任一 >=6 分即下载,低于6分自动跳过:

if (豆瓣 >= 6) OR (IMDb >= 6):
    → 添加到 115 下载
else:
    → 跳过并记录

评分从电影详情页提取,页面示例:

◎IMDb评分: 6.5/10 from 8,535 users
◎豆瓣评分: 7.0/10 from 1,722 users

文件结构

~/.openclaw/scripts/movie-monitor/
├── movie_pipeline.py              # 主入口
├── movie_monitor_simple.py        # 核心监控逻辑
├── copy_and_rename_movies.py      # NAS 复制重命名
├── client_115.py                  # 115 API 客户端
├── config.py                      # 配置
├── batch_rename_115_cloud.py      # 115 批量重命名工具(历史脏名清理)
├── 115_cookie_manual.json        # 115 认证 Cookie(需用户配置)
├── pending.json                   # 待处理任务记录
└── copy_processed.json            # 已处理记录(防重复)

故障排除

Cookie 失效:115 API 返回 "服务器开小差" → 重新获取 Cookie

NAS 复制失败PermissionError → 检查 /mnt/media 挂载权限

TMDB 刮削超时:网络问题,可忽略(电影本身已正确复制)

115 重命名失败:确认 Node.js + cookie.json 配置正确

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Ln Tool

Create hard and symbolic links between files. Use for file referencing, shortcuts, and directory organization.

Registry SourceRecently Updated
General

Air France Klm

Manage bookings, check flights, explore Air France and KLM routes, and access Air France-KLM group info including hubs, fleet, and alliance details.

Registry SourceRecently Updated
General

Video Generation Chinese

Turn a short text description of a mountain landscape scene into 1080p Chinese language videos just by typing what you need. Whether it's generating videos w...

Registry SourceRecently Updated
General

kdocs skill

操作金山文档(WPS 云文档 / Kdocs / 365.kdocs.cn / www.kdocs.cn)云文档的官方 Skill。核心能力覆盖云端新建、读取、编辑、搜索、分享、整理在线文档(智能文档、Word、Excel、PDF、PPT、演示文稿、智能表格、多维表格)及个人知识库。当用户的任务涉及云文档操作时使...

Registry SourceRecently Updated