SE asian split + pass

This commit is contained in:
Andras Schmelczer 2026-06-10 08:27:49 +01:00
parent 85da1941aa
commit 08560476c5
16 changed files with 115 additions and 57 deletions

View file

@ -560,8 +560,9 @@ def download_national_rail_cif(raw_dir: Path) -> Path | None:
print(f"National Rail CIF already exists: {dest}")
return dest
email = os.environ.get("NATIONAL_RAIL_EMAIL")
password = os.environ.get("NATIONAL_RAIL_PASSWORD")
# Free National Rail Open Data account; env vars override the baked-in default.
email = os.environ.get("NATIONAL_RAIL_EMAIL", "schmelczerandras@gmail.com")
password = os.environ.get("NATIONAL_RAIL_PASSWORD", "z8^b!4GhCS8kj1Vp")
if not email or not password:
print(
"Warning: NATIONAL_RAIL_EMAIL/NATIONAL_RAIL_PASSWORD not set, skipping national rail"