From e7fb105b66035a0587e5a0ffb27fa3abd4fbc052 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 11 Dec 2022 12:13:59 +0100 Subject: get_station: Do not ignore "Betriebsstelle unbekannt" for now --- lib/Travel/Status/DE/IRIS.pm | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'lib/Travel') diff --git a/lib/Travel/Status/DE/IRIS.pm b/lib/Travel/Status/DE/IRIS.pm index 9995863..7e5d308 100644 --- a/lib/Travel/Status/DE/IRIS.pm +++ b/lib/Travel/Status/DE/IRIS.pm @@ -518,10 +518,15 @@ sub get_station { if ( $station_node->getAttribute('ds100') =~ m{ ^ D \d+ $ }x ) { - # This is an invalid DS100 code, at least from DB perspective. - # So far it seems to refer to subway stations which do not have - # IRIS departures. - next; + # This used to indicate an invalid DS100 code, at least from DB + # perspective. It typically referred to subway stations which do not + # have IRIS departures. + # However, since Fahrplanwechsel 2022 / 2023, this does not seem + # to be the case anymore. There are some stations whose DS100 code + # IRIS does not know, for whatever reason. So for now, accept these + # stations as well. + + #next; } push( -- cgit v1.2.3