feat: add Nikke, the third Fandom template
Its robots.txt was read in a browser and is the standard Fandom file: no Disallow: / for *, /api.php?action= explicitly allowed, and only the namespaces we never want refused. The AI crawlers it blocks by name are not us. That was the one thing missing — the API itself has always answered our own User-Agent with a 200, and it is only robots.txt that a datacentre address cannot read. The zone lives in the column header, Start(UTC+9) / End(UTC+9), and no date in any cell carries an offset. So the header is the safety property: a table that stops naming its zone is refused rather than read as UTC, which is the Blue Archive hazard arriving one column to the left. Two shapes worth knowing. Every title is an image read from <a title>, and the newest row is the one whose logo has not been uploaded yet — it renders as a red link reading "File:Persona on Frontline logo.png", so a reader that only understood the link title would silently drop today's live event. And story events state a clock only on the end, so the start keeps the day the page printed rather than being shifted nine hours into the previous one; the start's day is half an event ID. That is the FGO rule applied to the opposite gap. resetOffsets and resetHourLocal ship with the game because the page evidences both: events end 04:59:59 and the banner replacing them starts 05:00:00, one second later, on a stated UTC+9. Adding that later would re-label day keys readers had already logged ticks under. Seconds now survive the date helpers, since rounding 04:59:59 to the minute would make an event overlap the banner that succeeds it. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
This commit is contained in:
co-authored by
Claude Opus 5
parent
c9e9359808
commit
bd385855c0
@@ -143,6 +143,22 @@ const SOURCES: SourceSpec[] = [
|
||||
url: "https://stellasora.miraheze.org/wiki/Main_Page",
|
||||
parserId: "stellasorawiki",
|
||||
},
|
||||
{
|
||||
id: "nikke-fandom-events",
|
||||
game: "nikke",
|
||||
// The MediaWiki API, like the two Fandom sources above. This wiki's
|
||||
// robots.txt was read in a browser on 2026-08-19 and is the standard Fandom
|
||||
// file: no `Disallow: /` for `*`, `/api.php?action=` explicitly allowed,
|
||||
// and only `Special:`, `User:`, `User_talk:`, `Template:`, `Template_talk:`,
|
||||
// `Help:` and `UserProfile:` refused. The named AI crawlers it blocks
|
||||
// (GPTBot, CCBot, OAI-SearchBot, ImagesiftBot) are not us.
|
||||
//
|
||||
// As with r1999 and fgo, the robots gate still fails closed from a
|
||||
// datacentre address, so the scheduled refresh reports skipped_robots and
|
||||
// this lane is fixture-backed until refreshed from an address Fandom serves.
|
||||
url: "https://nikke-goddess-of-victory-international.fandom.com/api.php?action=parse&page=Event&prop=text&formatversion=2&format=json",
|
||||
parserId: "fandom",
|
||||
},
|
||||
{
|
||||
id: "czn-game8-events",
|
||||
game: "czn",
|
||||
|
||||
Reference in New Issue
Block a user