Files
blueslmjandClaude Opus 5 0e85433a5d feat: 多站点磁力搜索工具(网页版 + 命令行)
聚合 TPB(apibay) / therarbg / knaben / EZTV 四个站点的 JSON API,
按 infohash 跨站去重,seeders 取各站最大值,0 种子明确标出。

绕过的几个实测问题:
- 站点关键词搜索按整词匹配,"s03" 搜不到(标题里是 S03E07),
  裸季号自动展开成 s03e01..e30 逐集补搜(TPB 实测 0 条 -> 193 条)
- 放宽查询会撞分页天花板,所以三条路互补:knaben 用原查询、
  TPB 用逐集补搜、EZTV 用 IMDb id 列出全剧
- IMDb id 必须从未过滤的结果里推断,只看命中项的话季号一过滤就没了
- therarbg 的 keywords: 必须用 %20 编码,用 + 多词查询返回 0 条

匹配支持智能/完全两种模式,完全匹配按「从标题开头连续对上」判定
(发布名规范是 剧名.SxxExx.质量.小组,剧名永远在开头)。
输入可直接粘发布名,pawn.stars.s24 和 pawn stars s24 等价。

网页版走 SSE 实时推进度,Windows 下双击 .bat 即可启动。
零运行时依赖,48 个测试全部不联网。

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-10 22:42:42 +08:00

35 lines
909 B
JSON

{
"name": "magnet-finder",
"version": "1.0.0",
"private": true,
"description": "多站点磁力搜索:聚合 TPB / therarbg / knaben / EZTV 的 API,按种子数排序去重。网页版 + 命令行,零依赖。",
"scripts": {
"test": "node --test tests/parse.test.js tests/cli.test.js tests/engine.test.js",
"start": "node cli/launch.js",
"serve": "node cli/serve.js",
"search": "node cli/search.js",
"launch": "node cli/launch.js"
},
"keywords": [
"torrent",
"magnet",
"search",
"bittorrent",
"seeders",
"cli"
],
"license": "MIT",
"author": "blueslmj",
"repository": {
"type": "git",
"url": "https://github.com/blueslmj/magnet-finder.git"
},
"homepage": "https://github.com/blueslmj/magnet-finder#readme",
"bugs": {
"url": "https://github.com/blueslmj/magnet-finder/issues"
},
"engines": {
"node": ">=18"
}
}