diff options
-rwxr-xr-x | bin/efa | 2 | ||||
-rw-r--r-- | lib/Travel/Routing/DE/EFA.pm | 11 | ||||
-rw-r--r-- | lib/Travel/Routing/DE/VRR.pm | 2 | ||||
-rw-r--r-- | t/20-vrr.t | 6 |
4 files changed, 8 insertions, 13 deletions
@@ -15,7 +15,7 @@ use List::Util qw(first); our $VERSION = '2.22'; my $ignore_info; my $efa; -my $efa_url = 'http://efa.vrr.de/vrr/XSLT_TRIP_REQUEST2'; +my $efa_url = 'https://app.vrr.de/vrrstd/XML_TRIP_REQUEST2'; my ( @from, @to, @via, $from_type, $to_type, $via_type ); my $opt = { 'efa-url' => \$efa_url, diff --git a/lib/Travel/Routing/DE/EFA.pm b/lib/Travel/Routing/DE/EFA.pm index a23524b..c14af4c 100644 --- a/lib/Travel/Routing/DE/EFA.pm +++ b/lib/Travel/Routing/DE/EFA.pm @@ -922,19 +922,14 @@ sub get_efa_urls { shortname => 'VRN', }, { - url => 'https://efa.vrr.de/vrr/XSLT_TRIP_REQUEST2', - name => 'Verkehrsverbund Rhein-Ruhr', - shortname => 'VRR', - }, - { url => 'https://app.vrr.de/vrrstd/XML_TRIP_REQUEST2', name => 'Verkehrsverbund Rhein-Ruhr (alternative)', - shortname => 'VRR2', + shortname => 'VRR', }, { url => 'https://efa.vrr.de/rbgstd3/XSLT_TRIP_REQUEST2', name => 'Verkehrsverbund Rhein-Ruhr (alternative alternative)', - shortname => 'VRR3', + shortname => 'VRR2', }, { url => 'https://efa.vvo-online.de/VMSSL3/XSLT_TRIP_REQUEST2', @@ -962,7 +957,7 @@ Travel::Routing::DE::EFA - unofficial interface to EFA-based itinerary services use Travel::Routing::DE::EFA; my $efa = Travel::Routing::DE::EFA->new( - efa_url => 'http://efa.vrr.de/vrr/XSLT_TRIP_REQUEST2', + efa_url => 'https://app.vrr.de/vrrstd/XML_TRIP_REQUEST2';', origin => [ 'Essen', 'HBf' ], destination => [ 'Duisburg', 'HBf' ], ); diff --git a/lib/Travel/Routing/DE/VRR.pm b/lib/Travel/Routing/DE/VRR.pm index 998d86a..a1aad62 100644 --- a/lib/Travel/Routing/DE/VRR.pm +++ b/lib/Travel/Routing/DE/VRR.pm @@ -11,7 +11,7 @@ use parent 'Travel::Routing::DE::EFA'; sub new { my ( $class, %opt ) = @_; - $opt{efa_url} = 'http://efa.vrr.de/vrr/XSLT_TRIP_REQUEST2'; + $opt{efa_url} = 'https://app.vrr.de/vrrstd/XML_TRIP_REQUEST2'; return $class->SUPER::new(%opt); } @@ -13,11 +13,11 @@ require_ok('Travel::Routing::DE::VRR'); sub efa_conf { my $ret = { - efa_url => 'http://efa.vrr.de/vrr/XSLT_TRIP_REQUEST2', + efa_url => 'https://app.vrr.de/vrrstd/XML_TRIP_REQUEST2', origin => ['Essen', 'HBf'], destination => ['Koeln', 'HBf'], - rm_base => 'http://efa.vrr.de/vrr/', - sm_base => 'http://efa.vrr.de/download/envmaps/', + rm_base => 'https://app.vrr.de/vrrstd/', + sm_base => 'https://app.vrr.de/download/envmaps/', lwp_options => {}, submit => 0, }; |