Files
magnet-finder/启动搜索.bat
T
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

26 lines
626 B
Batchfile

@echo off
rem ---------------------------------------------------------------
rem ASCII ONLY.
rem cmd.exe parses .bat files as system ANSI (GBK here), NOT UTF-8,
rem so any non-ASCII byte here corrupts line parsing. All Chinese
rem messages are printed by node (UTF-8) after chcp 65001 below.
rem ---------------------------------------------------------------
chcp 65001 >nul
title Magnet Search
where node >nul 2>nul
if errorlevel 1 (
echo.
echo Node.js not found / Node.js not installed.
echo Install it first: https://nodejs.org/
echo.
pause
exit /b 1
)
cd /d "%~dp0"
node cli\launch.js
echo.
pause