The text captured by a page becomes outdated. Example: I get the statistics from a football match, but they are out of date compared to the website.
Ex: Corners 2, 3;
Web site: Corners 4, 6;
How to get updated data equal to the website?
Config Browser:
private HtmlPage pagina;
public Estaticas()
{
webCliente = new WebClient(BrowserVersion.CHROME);
webCliente.getOptions().setJavaScriptEnabled(true);
webCliente.getCookieManager().clearCookies();
webCliente.getOptions().setCssEnabled(false);
webCliente.getOptions().setThrowExceptionOnScriptError(false);
webCliente.getOptions().setThrowExceptionOnFailingStatusCode(false);
}
The text captured by a page becomes outdated. Example: I get the statistics from a football match, but they are out of date compared to the website.
Ex: Corners 2, 3;
Web site: Corners 4, 6;
How to get updated data equal to the website?