Files
worldmonitor/scripts
Elie Habib e4e129684b fix(fuel-prices): switch EU source CSV→XLSX, increase Spain timeout (#2151)
* fix(fuel-prices): switch EU source from CSV to XLSX, increase Spain timeout

EU Oil Bulletin dropped CSV format — all YYYY-MM CSV fallback URLs return 404.
EC now only publishes XLSX files with a stable document UUID. Switch to the
"Prices with taxes latest prices" XLSX (document ID is permanent, file is
updated in-place weekly). Uses SheetJS xlsx package added to scripts/package.json.

parseEUPrice updated to handle both "1234.56" (xlsx default) and European
"1.234,56" / "1,234.56" number formats with thousand separators.

Also increase Spain (minetur) AbortSignal timeout 30s to 60s. The endpoint
returns ~11K stations as one JSON blob; 30s was insufficient from Railway US.

* fix(fuel-prices): add URL logging to Brazil, Mexico, NZ fetchers for debuggability
2026-03-23 20:59:09 +04:00
..