F
F
FaNaT2021-07-21 21:01:39
C++ / C#
FaNaT, 2021-07-21 21:01:39

How to bypass cloudflare when using httpclient?

Hello. There is a site with connected cloudflare. If it's a good day, then httpclient will send a request to get the html code of the page without any problems. But sometimes cloudflare turns on and the program starts throwing 503 errors.

The only thing I googled is advice to look for libraries in nuget or on github to bypass. However, they are all outdated and no longer work. Or I didn't search well.

I tried using selenium, but after loading the page, a captcha pops up, which seems to be endless.

Actually, the question is: is there a way to bypass cloudflare when using httpclient? Or, as a last resort, how to configure selenium so that it does not throw out captcha when the page is opened. I can't work with him at all.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question