summaryrefslogtreecommitdiff
path: root/lib/Travel
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2022-10-02 22:12:11 +0200
committerDaniel Friesel <derf@finalrewind.org>2022-10-02 22:12:11 +0200
commitb7d28bc824f5a11c96902f81856bcbdbdccf99ee (patch)
tree6e9886facdfc9568ea19702556d6b8ca5b99d810 /lib/Travel
parent642f7bcb1d7bad80aa60fa1d19c51ef5943e8b62 (diff)
NVV: switch to mgate
Diffstat (limited to 'lib/Travel')
-rw-r--r--lib/Travel/Status/DE/HAFAS.pm18
1 files changed, 17 insertions, 1 deletions
diff --git a/lib/Travel/Status/DE/HAFAS.pm b/lib/Travel/Status/DE/HAFAS.pm
index eb767f7..0d6175d 100644
--- a/lib/Travel/Status/DE/HAFAS.pm
+++ b/lib/Travel/Status/DE/HAFAS.pm
@@ -93,12 +93,28 @@ my %hafas_instance = (
},
},
NVV => {
- url => 'https://auskunft.nvv.de/auskunft/bin/jp/stboard.exe',
+ mgate => 'https://auskunft.nvv.de/auskunft/bin/app/mgate.exe',
stopfinder =>
'https://auskunft.nvv.de/auskunft/bin/jp/ajax-getstop.exe',
name => 'Nordhessischer VerkehrsVerbund',
productbits =>
[qw[ice ic_ec regio s u tram bus bus ferry ondemand regio regio]],
+ request => {
+ client => {
+ id => 'NVV',
+ v => '5000300',
+ type => 'IPH',
+ name => 'NVVMobilPROD_APPSTORE',
+ os => 'iOS 13.1.2',
+ },
+ ext => 'NVV.6.0',
+ ver => '1.18',
+ auth => {
+ type => 'AID',
+ aid => 'Kt8eNOH7' . 'qjVeSxNA',
+ },
+ lang => 'deu',
+ },
},
'ÖBB' => {
url => 'https://fahrplan.oebb.at/bin/stboard.exe',