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

What to do if I got banned by Google? #81

Open
RayLei opened this issue Jan 13, 2020 · 9 comments
Open

What to do if I got banned by Google? #81

RayLei opened this issue Jan 13, 2020 · 9 comments

Comments

@RayLei
Copy link

RayLei commented Jan 13, 2020

It seems I've been banned by google. Now with only one request, I got HTTP 429 error: too many requests. I am wondering how to remove the ban.

Is it possible to add some payment feature? I don't mind to paying google for using their engine if it doesn't cost too much.

@aledipa
Copy link

aledipa commented Jan 17, 2020

I've had the same issue in the past, just try spoofing your ip address by using a vpn network or some kind of proxies.

@ANNwind
Copy link

ANNwind commented May 20, 2020

I've had the same issue, just add time.sleep(2) in your loop/requests. The 429 only happens because you are requesting too much in a given amount of time.

@GrbavaCigla
Copy link

I am getting 429 even if I wait and make single request at the time

@bixing-udemy
Copy link

I am getting 429 even if I wait and make single request at the time

I have met the same issue. Have you solved it?

@GrbavaCigla
Copy link

After a day, I am unbanned. I tried tor, but it didn't work. One workaround if you need it quick would be to use something like repl.it and install Google-Search-API package

@bixing-udemy
Copy link

After a day, I am unbanned. I tried tor, but it didn't work. One workaround if you need it quick would be to use something like repl.it and install Google-Search-API package

Why repl.it can solve this problem?

How about add time.sleep() between different requests? Thanks!

@GrbavaCigla
Copy link

before I added sleep, they already banned me (for a day I think) and if you want to execute your script in ban period, you can run it with VPN (or some remote server). Since I don't own VPN nor remote server I used repl to run the script.

@caballeto
Copy link

Have you tried to run requests through a third-party proxy? For example webshare.io, or something like that. I am not sure, but there should be less chance of getting banned because you are going through different ips each time.

@ilyazub
Copy link

ilyazub commented Jan 18, 2021

@RayLei Rotate proxies and user agents on each request and add a delay between similar requests. Check the quality of proxies you use, because some cheap proxies are overused and Google responds with captcha more quickly.

If you don't mind paying to extract data from Google search results, you can use SerpApi. It supports everything this package does and much more. It has a 14-days trial.

Disclaimer: I work at SerpApi.

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

7 participants