schildbach / public-transport-enabler

Unleash public transport data in your Java project.
https://groups.google.com/forum/#!forum/public-transport-enabler-discuss
GNU General Public License v3.0
388 stars 133 forks source link

SBB: de.schildbach.pte.exception.UnexpectedRedirectException: http://fahrplan.sbb.ch/bin/query.exe/dn?… #388

Closed wombatch closed 3 years ago

wombatch commented 3 years ago

Query

Error

de.schildbach.pte.exception.UnexpectedRedirectException: http://fahrplan.sbb.ch/bin/query.exe/dn?start=Suchen&REQ0JourneyStopsS0ID=A%3D1%40L%3D8501120&REQ0JourneyStopsZ0ID=A%3D1%40L%3D8501008&REQ0HafasSearchForw=1&REQ0JourneyDate=14.08.21&REQ0JourneyTime=10%3A50&REQ0JourneyProduct_prod_list_1=1111111111&h2g-direct=11&clientType=ANDROID -> http://www.sbb.ch/de/fahrplan.html?start=Suchen&REQ0JourneyStopsS0ID=A%3D1%40L%3D8501120&REQ0JourneyStopsZ0ID=A%3D1%40L%3D8501008&REQ0HafasSearchForw=1&REQ0JourneyDate=14.08.21&REQ0JourneyTime=10%3A50&REQ0JourneyProduct_prod_list_1=1111111111&h2g-direct=11&clientType=ANDROID
de.schildbach.pte.util.HttpClient.getInputStream(HttpClient.java:288)
de.schildbach.pte.util.HttpClient.getInputStream(HttpClient.java:218)
de.schildbach.pte.util.HttpClient.getInputStream(HttpClient.java:214)

Additional information

[Please modify this part]

sirtoobii commented 3 years ago

Duplicate of #381