Zum Hauptinhalt springen
X

dsh-wenan

xgl2019/dsh-wenan

Extract short-video scripts and captions from Douyin, Bilibili, Kuaishou and YouTube, including titles, authors, hashtags and engagement data, through a bundled Python extractor.

Installation

dsh plugin --profile web add github:xgl2019/dsh-wenan

README

dsh-wenan

短视频文案提取插件 — DeepSeek Harness (dsh) 工具插件

让 DeepSeek Harness 的 agent 直接提取抖音 / B站 / 快手 / YouTube 短视频的文案、标题、作者、话题、互动数据。

安装

dsh plugin add dsh-wenan

配置

安装后,在插件配置里把 scriptPath 指向你的文案提取脚本(一个 python <脚本> <视频链接> 输出 JSON 的脚本):

- id: wenan
  name: 'dsh-wenan'
  config:
    pythonBin: 'python'                                    # Python 解释器
    scriptPath: 'C:/path/to/dy_wenan_service.py'           # 文案提取脚本绝对路径
    timeoutMs: 60000                                       # 超时(毫秒)

脚本要求:接收一个视频链接参数,向 stdout 输出 JSON(字段如 平台/标题/文案/作者/话题/点赞/评论/错误)。

用法

在对话里直接说:

agent 会自动调用 get_video_script 工具,返回结构化文案。

支持平台

平台链接形态
抖音v.douyin.com / iesdouyin.com
B站bilibili.com / b23.tv
快手kuaishou.com
YouTubeyoutu.be / youtube.com

License

MIT

Ähnliche Plugins