docs: sync CLAUDE.md URL shapes with AGENTS.md
This commit is contained in:
@@ -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)
|
### Live URL shapes (verified 2026-07-26, may drift — re-check against live pages before trusting)
|
||||||
|
|
||||||
- **asurascans.com**: series `/comics/<slug>` (slug carries a trailing hash-like suffix, e.g. `-f886a8af`), chapter `/comics/<slug>/chapter/<n>`. Astro-rendered; chapter links are present in raw server HTML (no client-side-only render blocking a server fetch).
|
- **asurascans.com**: series `/comics/<slug>` (slug carries a trailing
|
||||||
- **demonicscans.org**: series `/manga/<slug>` (slug may URL-encode punctuation, e.g. `%2527` for `'`), chapter `/title/<slug>/chapter/<n>/<page>` (the older `chaptered.php?manga=<id>&chapter=<n>` form still exists as a redirect and is what series-page chapter-list anchors link through).
|
site-wide build-hash suffix, e.g. `-059befe1`, that **rotates on every
|
||||||
|
redeploy**), chapter `/comics/<slug>/chapter/<n>`. `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>` (slug may URL-encode punctuation, e.g. `%2527` for `'`), chapter `/title/<slug>/chapter/<n>/<page>` (older `chaptered.php?manga=<id>&chapter=<n>` 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)
|
## Commands (once code exists)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user