Add multi-station support, GWR fares API, and Circle line improvements
- Support any station with direct trains to Paddington; station CRS code is now part of the URL (/results/<crs>/<slug>/<date>) - Load station list from data/direct_to_paddington.tsv; show dropdown on index page; 404 for unknown station codes - Fetch live GWR walk-on fares via api.gwr.com for all stations (SSS/SVS/SDS with restrictions already applied per train); cache 30 days - Scrape Paddington arrival platform numbers from RTT - Show unreachable morning Eurostars (before first reachable service only) - Circle line: show actual KX St Pancras arrival times (not check-in estimate) and add a second backup service in the transfer column - Widen page max-width to 1100px for longer station names Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
71be0dd8cf
commit
3c787b33d3
12 changed files with 810 additions and 262 deletions
129
data/direct_to_paddington.tsv
Normal file
129
data/direct_to_paddington.tsv
Normal file
|
|
@ -0,0 +1,129 @@
|
|||
Shenfield SNF
|
||||
Brentwood BRE
|
||||
Harold Wood HRO
|
||||
Gidea Park GDP
|
||||
Romford RMF
|
||||
Chadwell Heath CTH
|
||||
Goodmayes GMY
|
||||
Seven Kings SVK
|
||||
Ilford IFD
|
||||
Manor Park MNP
|
||||
Forest Gate FOG
|
||||
Maryland MYL
|
||||
Stratford (London) SRA
|
||||
Whitechapel ZLW
|
||||
London Liverpool Street LST
|
||||
Farringdon ZFD
|
||||
Tottenham Court Road TCR
|
||||
Bond Street BDS
|
||||
London Paddington PAD
|
||||
Heathrow Airport Terminal 5 HWV
|
||||
Heathrow Central HXX
|
||||
Hayes & Harlington HAY
|
||||
Southall STL
|
||||
Hanwell HAN
|
||||
West Ealing WEA
|
||||
Ealing Broadway EAL
|
||||
Acton Main Line AML
|
||||
Abbey Wood ABW
|
||||
Woolwich WWC
|
||||
Custom House CUS
|
||||
Canary Wharf CWX
|
||||
Reading RDG
|
||||
Twyford TWY
|
||||
Maidenhead MAI
|
||||
Taplow TAP
|
||||
Burnham BNM
|
||||
Slough SLO
|
||||
Langley LNY
|
||||
Iver IVR
|
||||
West Drayton WDT
|
||||
Oxford OXF
|
||||
Didcot Parkway DID
|
||||
Heathrow Airport Terminal 4 HAF
|
||||
Cholsey CHO
|
||||
Goring & Streatley GOR
|
||||
Pangbourne PAN
|
||||
Tilehurst TLH
|
||||
Bristol Temple Meads BRI
|
||||
Bath Spa BTH
|
||||
Chippenham CPM
|
||||
Swindon SWI
|
||||
Hereford HFD
|
||||
Ledbury LED
|
||||
Colwall CWL
|
||||
Great Malvern GMV
|
||||
Malvern Link MVL
|
||||
Worcester Foregate Street WOF
|
||||
Worcester Shrub Hill WOS
|
||||
Worcestershire Parkway WOP
|
||||
Pershore PSH
|
||||
Evesham EVE
|
||||
Honeybourne HYB
|
||||
Moreton-in-Marsh MIM
|
||||
Kingham KGM
|
||||
Charlbury CBY
|
||||
Hanborough HND
|
||||
Penzance PNZ
|
||||
St Erth SER
|
||||
Camborne CBN
|
||||
Redruth RED
|
||||
Truro TRU
|
||||
St Austell SAU
|
||||
Par PAR
|
||||
Bodmin Parkway BOD
|
||||
Liskeard LSK
|
||||
Plymouth PLY
|
||||
Totnes TOT
|
||||
Newton Abbot NTA
|
||||
Exeter St Davids EXD
|
||||
Taunton TAU
|
||||
Bedwyn BDW
|
||||
Hungerford HGD
|
||||
Kintbury KIT
|
||||
Newbury NBY
|
||||
Thatcham THA
|
||||
Theale THE
|
||||
Reading West RDW
|
||||
Swansea SWA
|
||||
Neath NTH
|
||||
Port Talbot Parkway PTA
|
||||
Bridgend BGN
|
||||
Cardiff Central CDF
|
||||
Newport (South Wales) NWP
|
||||
Bristol Parkway BPW
|
||||
Newbury Racecourse NRC
|
||||
Midgham MDG
|
||||
Aldermaston AMT
|
||||
Cheltenham Spa CNM
|
||||
Gloucester GCR
|
||||
Stonehouse SHU
|
||||
Stroud STD
|
||||
Kemble KEM
|
||||
Frome FRO
|
||||
Westbury WSB
|
||||
Pewsey PEW
|
||||
Weston-super-Mare WSM
|
||||
Weston Milton WNM
|
||||
Worle WOR
|
||||
Yatton YAT
|
||||
Nailsea & Backwell NLS
|
||||
Tiverton Parkway TVP
|
||||
Castle Cary CLC
|
||||
Bridgwater BWT
|
||||
Highbridge & Burnham HIG
|
||||
Carmarthen CMN
|
||||
Ferryside FYS
|
||||
Kidwelly KWL
|
||||
Pembrey & Burry Port PBY
|
||||
Llanelli LLE
|
||||
Paignton PGN
|
||||
Torquay TQY
|
||||
Torre TRR
|
||||
Teignmouth TGM
|
||||
Dawlish DWL
|
||||
Banbury BAN
|
||||
Greenford GFD
|
||||
South Greenford SGN
|
||||
Castle Bar Park CBP
|
||||
Drayton Green DRG
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue