Commit Graph
8 Commits
Author SHA1 Message Date
tiennm99 eddcfe25fa feat: auto-detect latest champions version from Riot API
When championsVersion is empty, fetch the latest version from
ddragon.leagueoflegends.com instead of requiring a hardcoded value.
2026-04-05 12:13:43 +07:00
tiennm99 a12b5d2b5d fix: disable HTML escaping in JSON output for & characters 2026-04-05 00:29:00 +07:00
tiennm99 23be5513e4 fix: use MediaWiki API for wiki scraping to bypass Cloudflare
Direct wiki page requests return 403 due to Cloudflare JS challenge.
Switch to MediaWiki parse API which returns rendered HTML without
blocking. Also match img[alt='Official'] in lane detection.
2026-04-05 00:14:13 +07:00
tiennm99 090082a51d fix: use typed ChampionImage struct for correct JSON key order 2026-04-04 20:31:12 +07:00
tiennm99 234d557bcc feat: sort champions alphabetically by name 2026-04-04 18:58:36 +07:00
tiennm99 1e7a05e591 feat: add champions.json sync workflow to loldle repo
Track champions.json in git and add GitHub Action that copies it
to tiennm99/loldle/public/champions.json on push.
2026-04-04 18:41:47 +07:00
tiennm99 cfa664f217 feat: rewrite LoLdleData in Go
4-stage pipeline: fetch ddragon champions, enrich with release dates
(wiki scrape), regions (Universe API), and lanes (wiki scrape).
Concurrent gender detection via goroutines with semaphore.
2026-04-04 18:06:48 +07:00
tiennm99 361e09910b Initial commit 2026-04-04 17:19:15 +07:00