bristol-eurostar/scraper
Edward Betts c22a3ea0fc Consolidate to single GraphQL call; show indirect trains; fix price formatting
Replace two-step Eurostar fetch (HTML timetable + GraphQL prices) with a
single GraphQL call that returns timing, train numbers, prices, and seats.
Support indirect services (e.g. Amsterdam) by joining multi-leg train numbers
with ' + ' and keeping the earliest arrival per departure time.
Fix half-pound prices by casting displayPrice to float instead of int.
Wrap each train number segment in white-space:nowrap so 'ES 9132 + ER 9363'
never breaks mid-segment.
Format Eurostar prices with two decimal places.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-04 14:46:22 +01:00
..
__init__.py Initial commit. 2026-03-30 19:34:46 +01:00
eurostar.py Consolidate to single GraphQL call; show indirect trains; fix price formatting 2026-04-04 14:46:22 +01:00
realtime_trains.py Various improvements 2026-03-31 10:42:30 +01:00