Commit b4a5e6c8 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

enhance: marudor.de only accepts 7-digit eva numbers

parent 5b801824
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -19,7 +19,7 @@ for my $station ( @{$stations} ) {
	if ( not $station->{latlong} ) {
		say "Requesting location for $station->{name} ...";
		my $res = $ua->get(
			'https://marudor.de/api/station/v1/station/' . $station->{eva} );
			sprintf('https://marudor.de/api/station/v1/station/%07d', $station->{eva}) );
		if ( $res->is_error ) {
			say '    marudor.de returned error ' . $res->status_line;
		}