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

Get captcha response when I try to run #24

Open
brandonmcgraw opened this issue Jan 26, 2023 · 1 comment
Open

Get captcha response when I try to run #24

brandonmcgraw opened this issue Jan 26, 2023 · 1 comment

Comments

@brandonmcgraw
Copy link

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?

@ereizas
Copy link

ereizas commented Jul 1, 2023

@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.

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

2 participants