jeyemwey / train-ics-converter

Create calendar events from train schedules. Each leg is its own ical event!
https://train-ics.ipv4.rocks/
6 stars 2 forks source link

Marudor and Träwelling links not working #15

Open v0tti opened 2 years ago

v0tti commented 2 years ago

It seems that the generated Marudor and Träwelling links are not working. I believe they were working yesterday?

Example journey

ICE 317: Aachen Hbf (Gl. 9) -> Frankfurt(Main)Hbf (Gl. 18) 2022-03-04

Marudor

https://marudor.de/api/hafas/v1/detailsRedirect/1%7C196606%7C0%7C80%7C4032022

Results in Cannot read properties of undefined (reading 'map')

Träwelling

https://traewelling.de/trains/trip?tripID=1%7C196606%7C0%7C80%7C4032022&lineName=ICE+317&start=8000001&departure=2022-03-04T17%3A39%3A00%2B01%3A00

Results in some JSON output.

jeyemwey commented 2 years ago

Hi, I was unable to reproduce the issues for the ICE 317 today. However, I have seen the issues before, but I'm not sure what we can do about it here. I can imagine that Träwelling sometimes spits out JSON if you access the links without logging into Träwelling first (@mrkriskrisu might help here?).

Calendar Screenshot

https://traewelling.de/trains/trip?tripID=1%7C209408%7C0%7C80%7C8042022&lineName=ICE+317&start=8000001&departure=2022-04-08T17%3A39%3A00%2B02%3A00

Träwelling Checkin

https://marudor.de/api/hafas/v1/detailsRedirect/1%7C209408%7C0%7C80%7C8042022

Marudor Checkin