403 Responses with CAPTCHA
See original GitHub issueI’m scraping through a Tor connection. But every request if its either get_tokens() or get() returns a 403 page with CAPTCHA. When I browse to the site through a Tor browser I get right to the site without any CAPTCHA or 403.
My question is: how can I debug cfscrape in order to better understand what is going wrong?
My minimal functional code looks like:
`import cfscrape
proxies = { “http”: “socks5h://localhost:9050”, “https”: “socks5h://localhost:9050” }
url = “omitted” tokens, user_agent = cfscrape.get_tokens(url, proxies=proxies) print(tokens)`
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:12
Top Results From Across the Web
Google recaptcha API POST request giving 403 Forbidden Error
403 Error was due to outbound https connections blocked from the requesting server. When https connection is allowed in server settings.
Read more >Contact form 403 response, google reCaptcha
When I submit the contact form, an 403 error page appears and says the request for Google reCaptcha-validation failed(Request-Id: ...
Read more >Captcha is returning 403 error after deny running scripts ...
Captcha appears to require the ability to write php files to the images directory. The webserver throws a 403 when this is prevented....
Read more >403 Forbidden. WHAT? Why am I seeing this? - WordPress.org
A 403 error usually points at the Firewall that is causing the block. Is the 403 a branded Wordfence block page or what...
Read more >Replace Forbidden (403) Error with Captcha challenge on ...
On all our shared/reseller/semi dedicated servers it should be giving a captcha in the event an IP is on our blacklist. I'd recommend...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
There are several issues currently open for this problem. In my case, the server also returns captcha but in reality, it is not. Waiting for maintainers to handle if possible and feasible.
@pro-src The requests library version is 2.21.0.