CloudflareSolverRe icon indicating copy to clipboard operation
CloudflareSolverRe copied to clipboard

Not working at www.curseforge.com

Open pkejval opened this issue 5 years ago • 3 comments

URL: https://www.curseforge.com/wow/addons/deadly-boss-mods

This code fails with exception CloudflareSolverRe.Exceptions.CloudflareClearanceException: Clearance failed after 3 attempt(s).

Not working even if I increase number of MaxTries nor incereasing ClearanceDelay.

But when I try URL from this project tests, everything is working. Maybe www.curseforge.com uses new protection?

Pythons library https://pypi.org/project/cfscrape/ can overpass even this Cloudflare protection so it's doable but I don't know how. :)

            var target = new Uri("https://www.curseforge.com/wow/addons/deadly-boss-mods");

            var handler = new ClearanceHandler
            {
                MaxTries = 3,
                ClearanceDelay = 3000
            };

            try
            {
                var client = new HttpClient(handler);
                var content = await client.GetStringAsync(target);
            }
            catch (Exception ex) { Console.WriteLine(ex.ToString()); }

pkejval avatar Oct 09 '19 10:10 pkejval

Yes, CFScrape works fine with that, i did a test using a small script and worked fine However the websites doesn't contain uam or recaptcha, i guess thats made for uam / captcha only

N0ise1337 avatar Nov 10 '19 16:11 N0ise1337

Sorry for late reply, but this site seems to use the recaptcha challenge every time for me. I think cfscrape uses a way to decrease the recaptcha challenge possibility. This library cannot make this now, I'll try finding a way.

RyuzakiH avatar Nov 28 '19 22:11 RyuzakiH

This python library doesn't handle captcha at all, it prevents the appearance of captcha by adding ciphers to a urllib3_ssl_context. Is there something similar in C # that can implement this function?

Summpot avatar Dec 07 '19 13:12 Summpot