#!/usr/bin/env node /** * @file scrape-loldle-data — rebuilds src/modules/loldle/champions.json by * scraping loldle.net for canonical game fields (gender, positions, * range_type, regions, release_date) and merging with ddragon championFull * for display fields (title, resource, genre tags, skin count, sprite image). * * Writes both champions.json (authoring format) and champions-data.js (ESM * wrapper consumed by the bot). Replaces the hand-run build-loldle-data step. * * Source of truth — loldle.net embeds the full champion array in plaintext * inside its JS bundle at `