Skip to content

use pyhafas#36

Open
Kurisudes wants to merge 1 commit intokennell:masterfrom
Kurisudes:usepyhafas
Open

use pyhafas#36
Kurisudes wants to merge 1 commit intokennell:masterfrom
Kurisudes:usepyhafas

Conversation

@Kurisudes
Copy link
Copy Markdown

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
Copy Markdown

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
Copy Markdown

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