diff --git a/.github/workflows/scrape-loldle-data.yml b/.github/workflows/scrape-loldle-data.yml index dfc21f9..0b45699 100644 --- a/.github/workflows/scrape-loldle-data.yml +++ b/.github/workflows/scrape-loldle-data.yml @@ -42,9 +42,7 @@ jobs: title: "data: weekly loldle.net champion refresh" body: | Automated weekly refresh of `src/modules/loldle/champions.json` - from loldle.net's JS bundle — the canonical source for all - classic-mode fields (`gender`, `species`, `resource`, - `attackType`, `region`, `lane`, `releaseDate`). + from loldle.net's JS bundle. Review the diff, merge, then run `npm run deploy` to ship. add-paths: src/modules/loldle/champions.json diff --git a/scripts/scrape-loldle-data.js b/scripts/scrape-loldle-data.js index 640dc98..6b3f7d7 100644 --- a/scripts/scrape-loldle-data.js +++ b/scripts/scrape-loldle-data.js @@ -1,19 +1,13 @@ #!/usr/bin/env node /** - * @file scrape-loldle-data — rebuilds src/modules/loldle/champions.json from - * loldle.net's JS bundle, the canonical source for the classic-mode axes: - * gender, species, resource, attackType, region, lane, releaseDate. + * @file Rebuilds src/modules/loldle/champions.json from loldle.net's JS + * bundle. The bundle embeds the full champion array in plaintext — one + * record per champion with fields: _id, championId, championName, gender, + * positions, species, resource, range_type, regions, release_date. * - * loldle.net embeds the full champion array in plaintext inside its JS bundle - * at `