0

So if i use Tor as proxies, i got Cloudflare chalenge captcha

proxies = {'http': 'socks5://127.0.0.1:9050',
           'https': 'socks5://127.0.0.1:9050'}
s = requests.Session()
s.proxies = proxies
r = s.get(url)
print(r.headers)

if i do same reuest without proxies

s = requests.Session()
r = s.get(url)
print(r.headers)

I got response without Cloud protection, also same url is not blocking in Tor browser never on changing IPs.

What is proble can be with proxies? How to fix?

7
  • Cloudflare forces Tor users to complete frequent captchas, unless they use the Tor Browser specifically.
    – Steve
    Nov 30 '20 at 21:22
  • No captchas in Tor Browser, only if requests doing from script Nov 30 '20 at 21:28
  • Right, Cloudflare only shows captchas if you're not using the Tor Browser. They do this by fingerprinting the browser.
    – Steve
    Nov 30 '20 at 21:51
  • So, how to show with script what im using browser? Dec 1 '20 at 7:38
  • I don't know what fingerprinting mechanism Cloudflare uses and it isn't documented anywhere, so you'd need to figure that out.
    – Steve
    Dec 1 '20 at 14:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.