Closed nebojsasandin closed 4 years ago
I have written a small C# script to illustrate this issue. It seems like CloudFlare is raising the bar a little.
#r "nuget: CloudflareSolverRe.Captcha, 1.0.6"
using CloudflareSolverRe;
Console.WriteLine("Hello world!");
var target = new Uri("https://haapi.ankama.com/json/Ankama/v2/Api/CreateApiKey");
var cf = new CloudflareSolver
{
MaxTries = 3,
ClearanceDelay = 3000
};
var result = await cf.Solve(target);
Console.WriteLine($"{result.Success}");
Console.WriteLine($"{result.FailReason}");
Console.WriteLine($"{result.DetectResult}");
Guys I think the owner of this repository is not supporting it anymore. There are other forks that are working so please use another fork in the meantime or make your own fork and apply one of the two PRs that are pending.
@openbullet You seem to have a fork yourself, do you have any clue on the issue?
There are 2 pull requests pending that solve the issue, i merged one of them on my fork, you can use it in the meantime, I also solved an issue I opened myself https://github.com/RyuzakiH/CloudflareSolverRe/issues/15 and for which I never got a reply. I think this repo is dead for the time being
Soon I will also integrate my custom library for captcha solving since Cloudflare is now using HCaptcha as well and this library doesn't recognize it
@openbullet Well thanks for the heads up, I'll check it out 👍. Once my hands get less full, I would love to help with that custom library. Until then, Best of luck!
@openbullet Moved onto your fork and it is working a treat.
The site I am scraping is not using Captcha, just the standard challenge.
How about creating a new repo? Happy to try and help where possible! I am scraping 30+ sites, but only one has CloudFlare for now.
@euangordon I was going to heavily change the library for a new project I am working on, so when the time comes I'll make a new repo, for now I'll just update the fork.
Fix available => https://github.com/RyuzakiH/CloudflareSolverRe/pull/29
According to this:
https://github.com/VeNoMouS/cloudscraper/issues/185
there's a new CF Challenge presented. It might be more difficult solving this one, but if it ever gets solved, can we have the solution integrated here?