summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2022-08-21 08:58:17 +0200
committerDaniel Friesel <derf@finalrewind.org>2022-08-21 08:58:17 +0200
commit76c1bffa6c8eef6f9579131d33fc761aee87231c (patch)
tree189dce1451e4045f3c479b685553cccb38d8607f
parentda443ee2f6605d7f80305bcf2bcceadd73c052a5 (diff)
train utilization API: marudor.de -> bahn.expert4.10.4
-rw-r--r--lib/DBInfoscreen/Helper/Marudor.pm2
-rw-r--r--templates/about.html.ep2
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 <a href="https://github.com/public-transport/hafas-rest-api">hafas-rest-api</a><br/>
% }
- • Zugauslastung Fernverkehr: DB HAFAS via <a href="https://docs.marudor.de/">marudor.de</a><br/>
+ • Zugauslastung Fernverkehr: DB HAFAS via <a href="https://docs.bahn.expert/">bahn.expert</a><br/>
• Zugauslastung Regionalverkehr: VRR EFA via <a href="https://github.com/derf/eva-to-efa-gw">eva-to-efa-gw</a><br/>
<br/>
Sie nutzt zusätzlich die folgenden Open Data-Ressourcen:<br/>