New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DB: trip is unreliable #49
Comments
Although `journeyLeg()` can be unreliable for DB (#49), I enabled it here. This is not a breaking change because, previously, you were not able to use `journeyLeg()` in the first place. Let's hope that it works for people. 🙈 By changing to the 1.16 protocol, we support the `polyline` option of `journeyLeg()` as well.
Can't reproduce this anymore. |
Hi, It fails with this message for a local route (I guess it's the same as the one you couldn't reproduce anymore):
Source Code:
|
Yup, I think it fails for trips that are not ICE/IC/RE/RB. |
- DB: `journeyLeg()` sometimes doesn't give the `direction` #49 - nah.sh: `departures()` at "Kiel Hbf" includes neighboring stations - ÖBB: the endpoint always returns IDs of individual stops Although these hacks make the tests less strict, we will finally be able to use the more thorough tests from the `tests-rewrite` branch.
I was grabbing some
This is neither focused on a specific mode, product, day, region, IP... I can request departures for other days and grab their trips just fine, for example these are fine:
Some failing Trip-IDs and their routes:
Do you guys have any experience with this kind of error/behaviour? Was I somehow fed fake Trip-IDs? |
Are DB trip IDs maybe not persistent? 🤢 I successfully got data on "1|1083586|1|80|19032020" but not on "1|1083586|0|80|19032020". Those are trips passing through "Kölner Str. Ost, Betzdorf", HAFAS ID 377018. My trip data from the other day shows me "Bus 292" stopping at that stop at 15:26 as part of the trip "1|1083586|1|80|19032020". If I request the departures again for that same time frame, I get a different trip ID "1|1099335|1|80|19032020" for that specific stop time. I can successfully request data on that trip. If I try to request data on the trip "1|1083586|1|80|19032020" again (the one that I did successfully scrape earlier), today I get |
Because @marudor has figured out what the trip IDs (a.k.a. This is a problem that can be worked around, via an Nevertheless, the fact that |
This doesn't seem to be an issue anymore. |
For
8011160
(Berlin Hbf) to8000309
(Regensburg Hbf), it reports an emptydirection
:Apparently for non-ICE journey legs, it fails completely. E.g. for
8011160
(Berlin Hbf) to8010035
(Berlin Karlshorst):The text was updated successfully, but these errors were encountered: