Giter Club home page Giter Club logo

bahn.guru's People

Contributors

juliuste avatar k-nut avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bahn.guru's Issues

Make search possible with more options

I'd like to be able to limit my search requests to specific days I travel within a timeframe, which isn't so clear to be choosable or can't be chosen right now.

I'd like to be able to choose (e. g.):

2. Klasse, Bahncard: --, ab: --:-- Uhr bis: --:-- Uhr (Abfahrtszeit) am: TT.MM. (Abfahrtstag), ab: --:-- Uhr bis: --:-- Uhr (Ankunftszeit) am: TT.MM. (Ankunftstag), max. 24 h Fahrzeit, max. ∞ Umstiege, max. 1:05 Std. Aufenthalt (pro Bahnhof), max. 1:05 Std. Aufenthalt (gesamt).
Frühester Abfahrtstag: TT.MM., spätester Ankunftstag: TT.MM.; max. Preis: 40

Sometimes they could/may be contradictory, so maybe not all six time options should be chosen at the same time. ;-)
I'm sure that limiting the search/finding options leads to a faster response time of the result(ing) page ;-)

Would it be too far in excess of the scope of this project to include which type of train (not) to choose?

PS: Many questions and ideas, maybe too many for one single issue…?

Prices differ from Next DB platform, sometimes no prices at all

First things first: bahn.guru helps me a lot finding routes and prices, I love it!

Recently I was looking up connections from Hannover to Domodossla. bahn.guru relies on the "old" booking platform where prices are considerably higher compared to Next DB.

Next DB
grafik

Old "Reiseauskunft"
grafik

bahn.guru actually doesn't even provide prices for the date above
grafik

It would be great if this could get fixed!

Feature Request: Checkbox for "preferFastRoutes: false" from db-prices API

Can we realize a checkbox/option for disabling "preferFastRoutes" when making API Calls from db-prices?

Why is this necessary?
Example: When going from Munich -> Berlin, there is either a ICE going the fastest route via Nuremberg and there is one slightly slower ICE that travels via Augsburg to Berlin. Most of the time, the slightly slower ICE is cheaper than the faster ICE, mainly because most search queries enable "preferFastRoutes" and people usually are not aware of the slightly slower connection.

So if time is not your main focus by travelling with deutsche bahn, this option could get you some cheaper travels in some cases.

iCal feed from DB booking

Hey I would like to share my DB bookings with my family. Ideally in a calendar feed format like iCal or ICS. Are you aware of anything that could provide that functionality?

And please excuse me posting that here. Maybe someone in this community knows...

Option for same day arrival?

Do you think it would be possible to add an option that avoids connections that start on one day and arrive on the next? I think that would be convenient in addition to the maximum number of changes allowed and the maximum travel time...

Mobile layout

The site doesn't really work on mobile devices (or any devices that have a non-standard-pc screen size). Sadly, I don't have the time and - even worse - the skill to craft a responsive layout, so if anyone wants to help: Feel free to PR, I'd really appreciate it!

Make search possible for more months

Hi! Why it's only possible to search in the next month? Really cheap (and still available) are tickets like 6 weeks in advance (at least for my Berlin - Interlaken route)

Opengraph integration missing

I recently shared bahn.guru on Slack and was surprised that it did not show the typical preview image and text. I would therefore propose to add some opengraph tags to let the site gain even more traction on social media and eventually take over the world. 😈 🚌
Would you be happy with that? If so I'd gladly provide a PR.

Display the inverse connection as well

It would be nice, if one could display the inverse connection at the same time.

Use case is:
I want to go to Berlin from Frankfurt sometime in the next month for three days.

Show me at one gasp, what times have good conditions.

A simple solution is to simply show it as a second graphic, or to insert it into the current one.

502 Bad Gateway or only few conections shown

I got a 502 Bad Gateway error just now.

The home page works fine, only when you actually trigger a search it fails.

After reloading, it finally got though, but is still incomplete:
image

Site seems to be down

Hey, looks like the site is down.

If you get a chance to investigate that'd be cool.

Cheers, and thanks for the cool project!

Links to connections don't work anymore.

Hi! It seems that the links directing to the Deutsche Bahn website don't work anymore. I think they changed the booking website on the first of April and now deeplinks are dead/redirect to the booking portal.

Switch departure and arrival locations

I think it would be nice to add a button to interconvert the departure and arrival locations. This is useful when I am searching for a round trip. After looking up prices for the outbound trip I would select Anfrage ändern to get back to the search form. There I would just click the not-yet-existing switch button.

Here is an screenshot from bahn.de indicating the switch button:

bahn.de

Possibly wrong price generated

The following request

https://bahn.guru/day?origin=Berlin%20Hbf&destination=LYON&class=2&age=A&date=26.09.2023

generates a price of 69,90 EUR for Berlin Hbf through Erfurt and Baden-Baden to LYON from 9:34 to 19:56.

The search on bahn.de directly yields a price tag of 112,90 for that connection, however:

https://reiseauskunft.bahn.de/bin/query.exe/dn?ld=4324&protocol=https:&seqnr=3&ident=es.01164124.1688466931&rt=1&OK#hfsseq10|es.01164124.1688466931

Any idea what's going wrong?

should give 400 status code on invalid query params

bahn.guru should, if requested with invalid query parameters, return a 400 Bad Request and maybe redirect to /. This let's browsers not cache the URL, the form input. It also tells crawlers & bots that they're requesting an invalid page.

Use median instead of minimum price

Minimum price might mislead.
See a month where most days show 19 EUR.
Some days carry most fares at 19 EUR.
Other days carry most fares a multiple of 19 EUR (yet there is a single weird connection of 19 EUR).

Just my bits…

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.