返回资讯中心
外部精选
软件工程
#开发者实时流

scene-finder:按台词搜索并下载电影片段的命令行工具

来源标题:Show HN: CLI for agents to download movie clips from dialogues

scene-finder 是一个可以从一句台词检索并下载对应电影片段的 CLI 工具,片段来源为 clip.cafe。它提供 find 命令,支持按片名过滤和限制结果数量,并附有安装脚本供 AI agent 直接调用。

Hacker News 最新robinroy032026/11/21 · 今天4 分钟阅读

以下正文由 AI 翻译自 Hacker News 最新(原文版权归原站所有),可能存在偏差,重要内容请以原文为准。

Show HN:用于从对话中下载电影片段的 CLI

片段来源于 clip.cafe:scene-finder 会在该站点搜索并下载文件。 按一句台词找到电影片段并下载。 curl -fsSL https://raw.githubusercontent.com/robinroy03/scene-finder/main/install.sh | sh 在 Windows 上,使用 PowerShell: irm https://raw.githubusercontent.com/robinroy03/scene-finder/main/install.ps1 | iex 或者让你的 AI agent 来完成。把下面这段粘贴到 Claude Code、Cursor、Codex 或类似的工具里: 在这台电脑上安装 scene-finder。在 macOS 或 Linux 上运行: curl -fsSL https://raw.githubusercontent.com/robinroy03/scene-finder/main/install.sh | sh 在 Windows 上,在 PowerShell 中运行: irm https://raw.githubusercontent.com/robinroy03/scene-finder/main/install.ps1 | iex 然后运行 scene-finder help 了解它的命令,从今往后当我让你查找或下载电影片段时就用它。 查找 $ scene-finder find "you shall not pass" -m fellowship -n 2 "you shall not pass":显示 4 个片段中的 2 个

MOVIE LEN LINE ID

── ────────────────────────────────── ───── ──────────────────────────── ───────────────────── 1 The Lord of the Rings: The… (2001) 0:07 You shall not pass! you-shall-not-pass-s8 2 The Lord of the Rings: The… (2001) 0:06 Gandalf: You shall not pass! you-shall-not-pass 还有 2 个:调高 -n,或者试试 --page 2 一次调用可以传入多个短语。-m 按电影标题筛选,--max 按片段时长(秒)筛选。 $ scene-finder download gandalf=you-shall-not-pass-s8 why-serious -o clips STATUS FILE SIZE ────── ───────────────────── ──────── ok clips/gandalf.mp4 1.3 MB ok clips/why-serious.mp4 1.0 MB 已下载 2 个,已存在 0 个,失败 0 个 传入 find 表格中的 ID,或用 NAME=ID 来指定文件名。

正文由 探How 从来源站点 RSS 同步,内容未经改写;遇到排版缺失或需要图片、视频时请以原文为准。

打开原文
去社区讨论 →