summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2023-10-02 04:43:27 +0200
committerBirte Kristina Friesel <derf@finalrewind.org>2023-10-02 04:43:27 +0200
commit1f14e32f2a24a34bafafd93b77c52f3e3f9cb0f7 (patch)
tree52ae14741c80943fc773268ea4a6543bf8f93d9d /lib
parent0be807a72c5043a843b4a4d22858017e97544ab3 (diff)
efa.vrr.de/vrr is dead; switch to app.vrr.de/vrrstd as default
Diffstat (limited to 'lib')
-rw-r--r--lib/Travel/Routing/DE/EFA.pm11
-rw-r--r--lib/Travel/Routing/DE/VRR.pm2
2 files changed, 4 insertions, 9 deletions
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);
}