Skip to content

.de.db need to target new URL #210

@georgjaehnig

Description

@georgjaehnig

.de.db 2/3/4 currently still work, but Bahn.de is migrating to a new interface. There, URLs look like this

https://www.bahn.de/buchung/fahrplan/suche#sts=true&so=BERLIN&zo=HAMBURG&kl=2&r=13:16:KLASSENLOS:1&soid=A%3D1%40O%3DBERLIN%40X%3D13386988%40Y%3D52520501%40U%3D80%40L%3D8096003%40B%3D1%40p%3D1698259482%40&zoid=A%3D1%40O%3DHAMBURG%40X%3D9997434%40Y%3D53557110%40U%3D80%40L%3D8096009%40B%3D1%40p%3D1698259482%40&sot=ST&zot=ST&soei=8096003&zoei=8096009&hd=2023-10-31T15:41:06&hza=D&ar=false&s=true&d=false&hz=%5B%5D&fm=false&bp=false

There, the tricky part are the soid and zoid parameters. Without them, the URL shows only an error. It seems though hard to guess their contents.

IIRC one can do an API call before to get those IDs, but this functionality is not yet part of Trovu (and would be complex to implement).

This issue has already been asked in Reddit but without success.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: dataAdd or edit something in the data

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions