revert: drop Genshin's Miliastra Pass source

Fandom's Event page, an existing source, already lists the pass as
"Silvery Moonlight Chronicle" with the same dates, and the merge folded
the new copy into it. The feed was unchanged, so a second source for one
event is cost with nothing to show. This reverts 9f8150f.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Lucas WintherandClaude Opus 5.5 committed 2026-10-16 06:28:51 +02:00
1 parent ec669675ed
commit b6cc3b1f51
7 files changed
+5 -69

No files matched your search

-21
View File
@@ -137,27 +137,6 @@ const SOURCES: SourceSpec[] = [
url: "https://honkai-star-rail.fandom.com/api.php?action=parse&page=Nameless_Honor&prop=text&formatversion=2&format=json",
parserId: "fandomtable",
},
{
id: "genshin-fandom-miliastra-pass",
game: "genshin",
// The API, as every Fandom source (AGENTS.md § Fandom). This host's
// robots.txt is the one a person recorded for `genshin-fandom-events`
// above (standard Fandom file: `Allow: /api.php?action=` for
// `User-agent: *`, no `Disallow: /` for `*`). Re-checked with the runner's
// own client (`RobotsCache`, the real User-Agent) on 2026-10-16: it
// answered 403 (the interstitial challenge), so that person-recorded
// reading and the standing `--assume-robots-on-403` decision
// (AGENTS.md § Scraping conduct) are what cover this source, as they do
// the other Fandom sources. The API path itself answered 200 to the real
// User-Agent for the single fixture fetch; no browser-shaped headers.
//
// A pass history, not an event page: the same `Name | Start | End |
// Version` table as Nameless Honor, day precision, one row per run. Read by
// the `fandomtable` parser; the title (`Miliastra Pass: <name>`) comes from
// `PASS_SOURCES` in `parsers/fandomTable.ts`, keyed by this id.
url: "https://genshin-impact.fandom.com/api.php?action=parse&page=Miliastra_Pass&prop=text&formatversion=2&format=json",
parserId: "fandomtable",
},
{
id: "zzz-fandom-city-fund",
game: "zzz",
+1 -7
View File
@@ -8,7 +8,7 @@ import type { SourceParser } from "./types.ts";
/**
* Fandom's dated *history table* — the template behind the battle-pass pages
* (`Nameless_Honor`, and next `New_Eridu_City_Fund` and `Miliastra_Pass`).
* (`Nameless_Honor`, `New_Eridu_City_Fund`).
*
* It shares nothing with the event pages `fandom.ts` reads: there is no section
* fence and no "ongoing" heading, only one `article-table` with a row per past
@@ -52,12 +52,6 @@ export const PASS_SOURCES: Readonly<Record<string, PassSource>> = {
pass: "Nameless Honor",
title: () => "Nameless Honor",
},
"genshin-fandom-miliastra-pass": {
// The Name cell is the run's own chronicle name (`Silvery Moonlight
// Chronicle`), a new one each version, so the title carries it.
pass: "Miliastra Pass",
title: (rowName) => `Miliastra Pass: ${rowName}`,
},
"zzz-fandom-city-fund": {
// One fund, one name; the Name cell is the run's own label, so a constant.
pass: "New Eridu City Fund",