feat(sites): 公开 BT 站详情(简介、文件清单、bgm 条目);修 AniBT 资源 ID 带 - 时判非法
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
06ba0711e2
commit
c29dbb4376
12 files changed
+464
-9
No files matched your search
@@ -1,10 +1,10 @@
|
||||
/**
|
||||
* 公开 BT 站定义(本项目手写,不来自 MovieClaw):解析器在 ../spiders/public.ts。
|
||||
* 都不需要登录;能力 = 列表(最新资源,供定时抓取)+ 搜索 + 下载,没有详情页解析。
|
||||
* 都不需要登录;能力 = 列表(最新资源,供定时抓取)+ 搜索 + 详情(简介、文件清单)+ 下载。
|
||||
*/
|
||||
import { NYAA_CATEGORY_NAMES } from "../spiders/public.ts";
|
||||
|
||||
const caps = { list: true, search: true, detail: false, download: true, rss: false };
|
||||
const caps = { list: true, search: true, detail: true, download: true, rss: false };
|
||||
const polite = { minIntervalMs: 2000, burst: 2 };
|
||||
|
||||
export const PUBLIC_SITE_DEFINITION_JSON: Record<string, unknown> = {
|
||||
|
||||
Reference in new issue
Block a user