From 2f00e452ffd747284f33ac8671d4072b0bf4ed95 Mon Sep 17 00:00:00 2001 From: Sulthan Zaki Date: Tue, 28 Jul 2026 07:12:00 +0700 Subject: [PATCH] docs: sync CLAUDE.md URL shapes with AGENTS.md --- CLAUDE.md | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index 9768195..99c7a4c 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -99,8 +99,17 @@ Bromite userscript (isolated world, per-site adapters, localStorage cache) ### Live URL shapes (verified 2026-07-26, may drift — re-check against live pages before trusting) -- **asurascans.com**: series `/comics/` (slug carries a trailing hash-like suffix, e.g. `-f886a8af`), chapter `/comics//chapter/`. Astro-rendered; chapter links are present in raw server HTML (no client-side-only render blocking a server fetch). -- **demonicscans.org**: series `/manga/` (slug may URL-encode punctuation, e.g. `%2527` for `'`), chapter `/title//chapter//` (the older `chaptered.php?manga=&chapter=` form still exists as a redirect and is what series-page chapter-list anchors link through). +- **asurascans.com**: series `/comics/` (slug carries a trailing + site-wide build-hash suffix, e.g. `-059befe1`, that **rotates on every + redeploy**), chapter `/comics//chapter/`. `seriesId` must strip + the hash (`/-[0-9a-f]{8}$/`, `stripBuildHash` in the userscript, + `asuraBuildHash` in the backend); URLs keep the full slug — stale-hash + URLs 302 to current ones. Astro-rendered; chapter links present in raw + server HTML. +- **demonicscans.org**: series `/manga/` (slug may URL-encode punctuation, e.g. `%2527` for `'`), chapter `/title//chapter//` (older `chaptered.php?manga=&chapter=` form still exists as redirect, what series-page chapter-list anchors link through). + Encodings (incl. triple-encoded punctuation like `%25252D`) are identical + on /manga/ and /title/ pages, so decode-once seriesIds match — verified + 2026-07-28. ## Commands (once code exists)