dsh-ytdlp
DiscoveredVideo/audio download tools for DeepSeek Harness, powered by yt-dlp (video_info / video_download)
dsh-ytdlp
Video/audio download tools for DeepSeek Harness (DSH), powered by yt-dlp. Registers two model-facing tools so the agent can inspect a video page before downloading and fetch the file to a local directory.
Channel-agnostic: the plugin only downloads to a local folder and returns absolute paths. Sending the file to the user is left to the session channel (e.g. Feishu: lark_send_media for files ≤30 MB, lark_send_bigfile for larger ones). Works in any DSH channel.
Tools
| Tool | Description |
|---|---|
video_info | Query video metadata (title, uploader, duration, resolution, size) before downloading — confirms the link is fetchable and gives a content preview |
video_download | Download a video or extract audio to a local directory, returns file paths and sizes |
Supports every site yt-dlp supports: YouTube, Bilibili, Douyin, Kuaishou, Weibo, X/Twitter, and more.
Install
Place the package under a DSH profile (plugins/ or node_modules/) and enable it in cordis.patch.yml:
- insert:
- id: ytdlp
name: dsh-ytdlp
config:
ytdlpBin: /path/to/yt-dlp # optional, auto-detected if omitted
Requirements: Node.js ≥ 20 and a yt-dlp executable (install with pip3 install --user yt-dlp or the official single-file binary). Audio extraction additionally needs ffmpeg.
Configuration
| Key | Default | Description |
|---|---|---|
ytdlpBin | auto-detect | Path to the yt-dlp executable (searched: config → ~/.dsh/bin/yt-dlp → ~/Library/Python/3.9/bin/yt-dlp → /usr/local/bin → /opt/homebrew/bin → PATH) |
outdir | ~/Downloads/yt-dlp | Default download directory |
downloadTimeoutMs | 1800000 | Download timeout in milliseconds (min 60000) |
Development
node --check lib/index.js
node test/self-test.mjs
License
MIT
Comments
Loading…
Similar plugins
by Raymond-Hear
一个帮你高效下载各平台视频的DeepSeek Harness 插件。贴一个链接,用本机 yt-dlp 下载视频 / 音频 / 字幕 / 封面 —— 支持 YouTube、哔哩哔哩、X、TikTok 等上千个站点。
★ 0
MIT
JavaScript
Nov 5, 2026
dsh plugin --profile web add dsh-video-downloaderby yuehancn
DeepSeek Harness plugin
★ 0
MIT
JavaScript
Oct 20, 2026
dsh plugin --profile web add dsh-tool-mediaby AvenYQ
Video workbench for DeepSeek Harness that parses a link, downloads the source, transcribes it, trims or merges clips and exports GIFs. Requires ffmpeg/ffprobe and yt-dlp; whisper.cpp plus a model is o
★ 0
MIT
JavaScript
Nov 4, 2026
dsh plugin --profile web add dsh-clipforgeby Raywh
DeepSeek Harness 歌曲下载插件:搜索(B站/YouTube)+ 下载(MP3 320k 酷狗兼容)+ LRC 歌词(站点字幕 + 网易云兜底)。DSH plugin: song search & download with lyrics.
★ 0
MIT
JavaScript
Aug 31, 2026
dsh plugin --profile web add dsh-song-downloadby llafztq
Video editing toolset for DeepSeek Harness - trim, concat, audio, subtitles, transform, transcode and frame grabbing, powered by ffmpeg.
★ 4
JavaScript
Oct 8, 2026
dsh plugin --profile web add dsh-video-toolby OrderG-X
Inline video and audio playback inside DeepSeek Harness: a play_video tool plus a native player at the turn tail, served by a signed Range-capable streaming route.
★ 3
↓ 490/wk
MIT
JavaScript
Nov 12, 2026
dsh plugin --profile web add dsh-video-preview