READMESource: main@1b374d12
dsh-film-resource-hunter
film-resource-hunter 的公开仓库:影视资源聚合抓取 + 下载技能包,给 DSH(DeepSeek Harness)用。
找片 → 多源并发搜 → 出磁力/网盘/直链 → 丢给 aria2c / qBittorrent / yt-dlp 下。
当前版本:v26.11.8(打包文件在 dist/film-resource-hunter-v26.11.8.zip)
一条命令装
# Linux / macOS
mkdir -p ~/.dsh/skills && unzip -o film-resource-hunter-v26.11.8.zip -d ~/.dsh/skills/
# Windows (PowerShell)
mkdir -Force "$env:USERPROFILE\.dsh\skills" | Out-Null
Expand-Archive -Force film-resource-hunter-v26.11.8.zip "$env:USERPROFILE\.dsh\skills\"
装完目录结构应为:
~/.dsh/skills/film-resource-hunter/
├── SKILL.md
├── sources.yaml
├── scripts/{hunter.py, resolve.py, server.py}
├── references/sources-recipes.md
└── tests/{fixture_server.py, sources.test.yaml, bin/}
index.db 不带,首次运行自动重建。
依赖
pip install "scrapling[all]>=0.5.1"
scrapling install --force # 用 stealth 引擎才需要
winget install aria2 # BT / 磁力 / http 直链
pip install yt-dlp # m3u8
自检
cd ~/.dsh/skills/film-resource-hunter
python scripts/hunter.py doctor
python scripts/hunter.py search "空枪" # 预期 ~27 条,11 源全有结果
doctor 应列出 11 个启用源:
5bt0(http), ffzy(http), lzi(http), wujin(http), bdzy(http), dyttzy(http),
guangsu(http), jyzy(http), huya(http), bt258(http), ops(http)
源站
| 类别 | 源 |
|---|---|
| 网盘聚合 | 5bt0 |
| 苹果 CMS 接口 | ffzy、lzi、wujin、bdzy、dyttzy、guangsu、jyzy、huya |
| HTML 详情 / 播放页 | bt258(2160P 种子)、ops(1080p m3u8) |
本地全空时自动走 AnySearch 兜底:fallback → 搜索词 → ingest → dl。
命令
hunter.py search "<片名>" # 11 源并发搜
hunter.py dl <id|URL> # 交 aria2c / qB / yt-dlp
hunter.py page <播放页URL> # 抽 player_aaaa → m3u8,多线路
hunter.py seed <本地.torrent> # 算 infohash → magnet
hunter.py fallback "<片名>" # 本地 0 命中 → AnySearch 搜索词
hunter.py ingest <file.json> # AnySearch 结果灌进索引
hunter.py doctor # 源自检
加源
只改 sources.yaml,不动代码。选择器与站点套路见
references/sources-recipes.md(12 节,覆盖 Discuz、磁力聚合、苹果 CMS、Cloudflare、JS 渲染站、RSS、网盘站、bt258 型、播放页抽流、AnySearch 兜底)。
版本变化
见 README-v26.11.8.md:源站 1 → 11、新增 5 个命令、AnySearch 兜底链路、3 个 bug 修复、BT 提速实测(0.05 MB/s → 18 MB/s)。
打包时间:2026-11-08
No comments yet. Be the first to write one.