mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-12 22:28:48 +00:00
Update user agent
This commit is contained in:
parent
c406e6a46b
commit
3fa417cbe8
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ import de.schildbach.pte.exception.UnexpectedRedirectException;
|
||||||
*/
|
*/
|
||||||
public final class ParserUtils
|
public final class ParserUtils
|
||||||
{
|
{
|
||||||
private static final String SCRAPE_USER_AGENT = "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:23.0) Gecko/20100101 Firefox/23.0";
|
private static final String SCRAPE_USER_AGENT = "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:26.0) Gecko/20100101 Firefox/26.0";
|
||||||
private static final String SCRAPE_ACCEPT = "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8";
|
private static final String SCRAPE_ACCEPT = "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8";
|
||||||
private static final int SCRAPE_INITIAL_CAPACITY = 4096;
|
private static final int SCRAPE_INITIAL_CAPACITY = 4096;
|
||||||
private static final int SCRAPE_CONNECT_TIMEOUT = 5000;
|
private static final int SCRAPE_CONNECT_TIMEOUT = 5000;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue