Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Page not updated #879

Open
saintPedro-JX opened this issue Oct 11, 2024 · 2 comments
Open

Page not updated #879

saintPedro-JX opened this issue Oct 11, 2024 · 2 comments

Comments

@saintPedro-JX
Copy link

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); 		
    
}
@rbri
Copy link
Member

rbri commented Oct 11, 2024

It depens on the way the website does the update. Can you please provide a url to let me test.

@saintPedro-JX
Copy link
Author

It has to be a live match
Link: https://www.futebolscore.com/jogos/computador-2552183

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants