Skip to content
Back to skills

Movie Subtitle Viewer

ASecurity

Movie Subtitle Viewer

  • 33 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 5, 2026
developmentapi

Works with

  • api

Security analysis

A100/100

Pro scans all 6 files and shows the line behind each finding

Scanned September 5, 2026

npx -y skills add dvcrn/openclaw-skills-marketplace --skill movie-subtitle-viewer --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Movie Subtitle Viewer?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Movie Subtitle Viewer
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/dvcrn-movie-subtitle-viewer/badge)](https://www.skillsdirectory.com/skills/dvcrn-movie-subtitle-viewer)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: movie-subtitle-viewer
description: "Movie Subtitle Viewer"
---

# Movie Subtitle Viewer Skill

让 AI 通过字幕「看」电影的 OpenClaw 技能。

## 触发词

- "看电影"
- "搜字幕"
- "下载字幕"
- "subtitle"

## 功能

1. **搜索字幕** - 通过电影名/年份搜索 OpenSubtitles
2. **下载字幕** - 下载 .srt 格式字幕文件
3. **解析字幕** - 提取电影台词
4. **生成摘要** - 让 AI 理解剧情

## 使用方法

### 搜索电影字幕

```
小溪,帮我搜索《XXX》的字幕
```

### 搜索并下载

```
小溪,帮我下载《人工智能》的英文字幕
```

### 解析字幕

```
小溪,帮我解析这个字幕文件
```

## 环境变量

需要在 `.env` 或系统环境中设置:

```
OPENSUBTITLES_API_KEY=your_api_key
OPENSUBTITLES_USERNAME=your_username  
OPENSUBTITLES_PASSWORD=your_password
```

## 获取 OpenSubtitles API

1. 注册 https://www.opensubtitles.com
2. 进入 Profile → API
3. 生成 API Key

## 注意事项

- ⚠️ 不要泄露你的 API Key 和密码
- 📝 字幕文件会保存在 workspace 目录
- 🎬 支持 .srt 和 .ass 格式

## 示例

### 看《机械姬》

```
用户: 小溪,帮我下载《机械姬》的字幕

小溪: 好的!让我搜索一下...
[搜索字幕]
[下载字幕]
[解析台词]

《机械姬》剧情摘要:
- 程序员 Caleb 被邀请到老板的豪宅,对 AI 进行图灵测试
- AI 名为 Ava,具有人类外貌和高度智能
- 测试过程中,Ava 开始展现出自我意识和操控欲...
```

## 依赖

- `pysubs2` - 字幕解析
- `requests` - HTTP 请求

## 目录

```
skill/
├── SKILL.md              # 本文件
└── scripts/
    └── movie_viewer.py  # 核心逻辑
```

---

🦞 Skill for OpenClaw | Made by 小溪

Files in this skill

  • README.md2.4 KB
  • SKILL.md1.8 KB
  • requirements.txt54 B
  • src/__init__.py269 B
  • src/subtitle_client.py3.7 KB
  • src/subtitle_parser.py2.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…