mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-08 00:08:49 +00:00
PL: use custom user agent
This commit is contained in:
parent
ad6e02be61
commit
b35b2c22ce
1 changed files with 1 additions and 0 deletions
|
@ -49,6 +49,7 @@ public class PlProvider extends AbstractHafasClientInterfaceProvider {
|
||||||
setApiClient(apiClient);
|
setApiClient(apiClient);
|
||||||
setApiAuthorization(apiAuthorization);
|
setApiAuthorization(apiAuthorization);
|
||||||
setSessionCookieName("SERVERID");
|
setSessionCookieName("SERVERID");
|
||||||
|
setUserAgent("Dalvik/2.1.0");
|
||||||
}
|
}
|
||||||
|
|
||||||
private static final String[] PLACES = { "Warszawa", "Kraków" };
|
private static final String[] PLACES = { "Warszawa", "Kraków" };
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue