From b487307d4a9c4cfb41a883675e8bed66f4e737b2 Mon Sep 17 00:00:00 2001 From: Edward Betts Date: Thu, 9 Apr 2026 15:18:22 +0100 Subject: [PATCH] Add CDS (Off-Peak Day Single) to wanted fare codes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- scraper/gwr_fares.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scraper/gwr_fares.py b/scraper/gwr_fares.py index 9b09511..0f37ab0 100644 --- a/scraper/gwr_fares.py +++ b/scraper/gwr_fares.py @@ -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