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 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/DBInfoscreen/Helper') 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) = @_; -- cgit v1.2.3