From 76c1bffa6c8eef6f9579131d33fc761aee87231c Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 21 Aug 2022 08:58:17 +0200 Subject: train utilization API: marudor.de -> bahn.expert --- lib/DBInfoscreen/Helper/Marudor.pm | 2 +- templates/about.html.ep | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/DBInfoscreen/Helper/Marudor.pm b/lib/DBInfoscreen/Helper/Marudor.pm index 8b2e5b2..329c017 100644 --- a/lib/DBInfoscreen/Helper/Marudor.pm +++ b/lib/DBInfoscreen/Helper/Marudor.pm @@ -151,7 +151,7 @@ sub get_train_utilization { = url_escape( encode( 'utf-8', decode( 'iso-8859-15', $next_station ) ) ); $self->get_json_p( $self->{realtime_cache}, -"https://marudor.de/api/hafas/v2/auslastung/${this_station}/${next_station}/${train_no}/${dep}" +"https://bahn.expert/api/hafas/v2/auslastung/${this_station}/${next_station}/${train_no}/${dep}" )->then( sub { my ($utilization_json) = @_; diff --git a/templates/about.html.ep b/templates/about.html.ep index f601cc7..df5d3e6 100644 --- a/templates/about.html.ep +++ b/templates/about.html.ep @@ -37,7 +37,7 @@ % else { • Karte: DB HAFAS via hafas-rest-api
% } - • Zugauslastung Fernverkehr: DB HAFAS via marudor.de
+ • Zugauslastung Fernverkehr: DB HAFAS via bahn.expert
• Zugauslastung Regionalverkehr: VRR EFA via eva-to-efa-gw

Sie nutzt zusätzlich die folgenden Open Data-Ressourcen:
-- cgit v1.2.3