Add CDS (Off-Peak Day Single) to wanted fare codes

Fixes #5 — Goring & Streatley (GOR) was only showing Anytime Day Single
because ticket code CDS was not included in _WANTED_CODES.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Edward Betts 2026-04-09 15:18:22 +01:00
parent 4900be723b
commit b487307d4a

View file

@ -12,7 +12,7 @@ _API_URL = "https://api.gwr.com/api/shopping/journeysearch"
# API key is embedded in the GWR web app (appvalues.prod.json)
_API_KEY = "OgovGqAlLp4gWAhL7DQLo7pMCt8GHi2U4SPFiZgG"
_PAD_CODE = "GBQQP" # London Paddington cluster code as used by GWR website
_WANTED_CODES = {"SSS", "SVS", "SDS"}
_WANTED_CODES = {"SSS", "SVS", "SDS", "CDS"}
_MAX_PAGES = 20