azapi
azapi copied to clipboard
Get captcha response when I try to run
Describe the bug I've uploaded the script to a pythonanywhere instance and am using flask to return results to a website. For any query type I get the response: "Type the characters from the picture above: Input is case-insensitive Submit"
It looks like maybe it's catching a captcha or similar bot detector.
I'm assuming that a proxy might be what is required to bypass - would you mind providing instructions for how to use one - I see the feature flag but wasn't sure how to do it if you think that's what's causing this?
@brandonmcgraw I most likely have the same issue too, and I also think that it is probably because of an IP ban that proxies would help bypass. This is what I found on stackoverflow:
http_proxy = "http://10.10.1.10:3128"
https_proxy = "https://10.10.1.11:1080"
ftp_proxy = "ftp://10.10.1.10:3128"
proxies = {
"http" : http_proxy,
"https" : https_proxy,
"ftp" : ftp_proxy
}
r = requests.get(url, headers=headers, proxies=proxies)
I believe you would have to create proxy servers with new IP addresses which I do not know how to do with Python.