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
All checks were successful
Deploy production / deploy (push) Successful in 1m9s
This commit is contained in:
@@ -11,6 +11,8 @@
|
||||
# have none yet (new ones included) and maker and operator logos that are missing.
|
||||
# 3. bun scripts/spotters-activity.ts trains refreshes the per-country activity scores
|
||||
# ("most active in NL" sort; see that script).
|
||||
# 4. bun scripts/spotters-logos.ts trains --new logos for new brands / makers / operators
|
||||
# (Wikidata logo or icon, then Wikipedia infobox logos)
|
||||
# stdout: one JSON report {generatedAt, totals, newMakers, newTypes[] (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).
|
||||
@@ -32,4 +34,5 @@ trap 'rm -f "$report"' EXIT
|
||||
|
||||
bun scripts/trains-import.ts --report-new "${args[@]}" >"$report"
|
||||
bun scripts/spotters-activity.ts trains >&2
|
||||
bun scripts/spotters-logos.ts trains --new >&2
|
||||
bun scripts/trains-photos.ts --missing --enrich "$report" --fetch | bun scripts/spotters-report-nl.ts trains
|
||||
|
||||
Reference in New Issue
Block a user