Bahn: Migrate station board to separate base URL.

This commit is contained in:
Andreas Schildbach 2015-06-28 19:04:42 +02:00
parent 9bef580434
commit cf09c0043b

View file

@ -29,10 +29,11 @@ import de.schildbach.pte.dto.Product;
public final class BahnProvider extends AbstractHafasProvider
{
private static final String API_BASE = "http://reiseauskunft.bahn.de/bin/";
private static final String API_BASE_STATION_BOARD = "http://mobile.bahn.de/bin/mobil/";
public BahnProvider()
{
super(NetworkId.DB, API_BASE + "bhftafel.exe/dn", API_BASE + "ajax-getstop.exe/dn", API_BASE + "query.exe/dn", 14);
super(NetworkId.DB, API_BASE_STATION_BOARD + "bhftafel.exe/dn", API_BASE + "ajax-getstop.exe/dn", API_BASE + "query.exe/dn", 14);
setClientType("ANDROID");
setStationBoardHasStationTable(false);