docs(plan): on-demand site detail page parsing (HHClub details.php)

Co-Authored-By: Claude Fable 5.1 <[email protected]>
This commit is contained in:
rootandClaude Fable 5.1 committed 2026-09-29 15:13:35 +08:00
1 parent 94fd48bff2
commit ac478673bc
39 files changed
+2446 -339

No files matched your search

+5 -3
View File
@@ -405,7 +405,7 @@ describe.skipIf(!up)("全局搜索", () => {
expect(f("false")).toEqual(["b", "c"]);
});
it("页面与操作跳转;scope=all 四组都在", async () => {
it("页面与操作跳转;scope=all 只查作品与操作(不查站点)", async () => {
const r = await req("/search?q=设置&scope=actions");
expect(r.body.data.actions.items[0]).toMatchObject({
id: "page.settings",
@@ -414,10 +414,12 @@ describe.skipIf(!up)("全局搜索", () => {
});
const sub = await req("/search?q=订阅&scope=actions");
expect(sub.body.data.actions.items.map((a: Loose) => a.id)).toContain("action.new-subscription");
const all = await req("/search?q=Dune");
const before = [nexusSearches(), mteamSearches(), slowCalls];
const all = await req("/search?q=Dune%20Part%20Two&refresh=true");
expect(all.body.data.media).not.toBeNull();
expect(all.body.data.releases).not.toBeNull();
expect(all.body.data.releases).toBeNull();
expect(all.body.data.actions).not.toBeNull();
expect([nexusSearches(), mteamSearches(), slowCalls]).toEqual(before);
});
it("从搜索结果下载:转调 /acquisition-plans(同一鉴权、同一拒绝原因)", async () => {