spotters: logo coverage script (Wikidata logo/icon, multi-language infobox, website icon fallback), cheaper planes operator queries, refresh adds logos for new orgs
All checks were successful
Deploy production / deploy (push) Successful in 1m9s

This commit is contained in:
2026-10-25 13:54:27 +00:00
parent 7d6cee26a8
commit 5e4cd83748
8 changed files with 577 additions and 19 deletions

View File

@@ -10,6 +10,8 @@
# that have none yet (new ones included).
# 3. bun scripts/spotters-activity.ts cars refreshes the per-country activity scores
# ("most active in NL" sort; see that script).
# 4. bun scripts/spotters-logos.ts cars --new logos for new brands / makers / operators
# (Wikidata logo or icon, then Wikipedia infobox logos)
# stdout: one JSON report {generatedAt, totals, newBrands, newModels[] (with photo)}, plus `nl` per new
# entry and `newInNl` (new entries that are active in the Netherlands, see
# scripts/spotters-report-nl.ts). --report-new is accepted (the report is always printed).
@@ -31,4 +33,5 @@ trap 'rm -f "$report"' EXIT
bun scripts/cars-import.ts --report-new "${args[@]}" >"$report"
bun scripts/spotters-activity.ts cars >&2
bun scripts/spotters-logos.ts cars --new >&2
bun scripts/cars-photos.ts --missing --enrich "$report" --fetch | bun scripts/spotters-report-nl.ts cars