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

FunCaptcha solver doesnt work #37

Open
kuvarti opened this issue Jan 20, 2025 · 0 comments
Open

FunCaptcha solver doesnt work #37

kuvarti opened this issue Jan 20, 2025 · 0 comments

Comments

@kuvarti
Copy link

kuvarti commented Jan 20, 2025

public async Task SolveCaptcha()
{
	TwoCaptcha.TwoCaptcha solver = new TwoCaptcha.TwoCaptcha("-TOKEN-");
	FunCaptcha captcha = new FunCaptcha();
	captcha.SetSiteKey("DF9C4D87-CB7B-4062-9FEB-BADB6ADA61E6");
	captcha.SetUrl("https://demo.arkoselabs.com/?key=DF9C4D87-CB7B-4062-9FEB-BADB6ADA61E6");
	try
	{
		solver.Solve(captcha);
		await solver.WaitForResult(captcha, new Dictionary<string, int>());
	}
	catch (AggregateException ex)
	{
		await page.EvaluateExpressionAsync<string>($"console.log('{ex.InnerExceptions.First().Message}');");
	}
}

the function WaitForResult never returns. code stuck that line.

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

1 participant