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

Not working at www.curseforge.com #7

Open
pkejval opened this issue Oct 9, 2019 · 3 comments
Open

Not working at www.curseforge.com #7

pkejval opened this issue Oct 9, 2019 · 3 comments

Comments

@pkejval
Copy link

pkejval commented Oct 9, 2019

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()); }
@N0ise1337
Copy link

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

@RyuzakiH
Copy link
Owner

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.

@Summpot
Copy link

Summpot commented Dec 7, 2019

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?

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

4 participants