Skip to content
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

use pyhafas #36

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

use pyhafas #36

wants to merge 1 commit into from

Conversation

Kurisudes
Copy link

This change is to fix the issue #35 raised by me.

I hope you can accept my pull request. Sorry, if I am doing some formal mistake. This is my first pull request ever. I am happy to fix any issues.

@realwuffi
Copy link

This issue may become important again now, as the bahn.de website seemed to have changed with the latest schedule update on December 15.
The old scraping does not work any longer as two endpoints http://mobile.bahn.de/bin/mobil/query.exe/dox and https://reiseauskunft.bahn.de/bin/query.exe/dn do not work as expected.

If I have time the next couple of days I could have a look and try to update the existing source to use the new web frontend, so his library could continue to use scraping

@sonh2440
Copy link

sonh2440 commented Jan 9, 2025

Just wanted to test your fix. Fails in line 87 (origin_location...). Presumably not your fault, hafas fails inside. The api response inside the hafas-lib is just:

<title>503 Service Temporarily Unavailable</title>

503 Service Temporarily Unavailable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants