Anycomplete icon indicating copy to clipboard operation
Anycomplete copied to clipboard

Google shut me down for "automated queries"

Open overvale opened this issue 7 years ago • 8 comments

This worked great the first few times I used it, but then suddenly failed with this error message.

11:28:47 ERROR:   LuaSkin: hs.chooser:completionCallback error - ...rs/olivertaylor/.hammerspoon/anycomplete/anycomplete.lua:15: attempt to index a nil value (local 'choosen')
stack traceback:
	...rs/olivertaylor/.hammerspoon/anycomplete/anycomplete.lua:15: in function <...rs/olivertaylor/.hammerspoon/anycomplete/anycomplete.lua:11>

So I switched it to DuckDuckGo, and it started working again.

The really strange thing is that at the same time the google suggestions started failing, the search suggestions in Safari stopped working also. Is it possible Google banned by IP or something because I triggered the suggestions too many times in a row?

overvale avatar Dec 27 '16 19:12 overvale

Confirmed. Got the error message "We're sorry... but your computer or network may be sending automated queries. To protect our users, we can't process your request right now." When trying to access http://google.com/complete/search?q=QWERY

overvale avatar Dec 27 '16 19:12 overvale

Perhaps this is a good time to reconsider debouncing? (like in this PR: https://github.com/nathancahill/Anycomplete/pull/12)

tomholford avatar Dec 29 '16 17:12 tomholford

I think this is inevitable, Google is well known for keeping API access locked down. I don't know if debouncing is the correct answer, maybe switching to DuckDuckGo is better?

nathancahill avatar Dec 29 '16 18:12 nathancahill

DuckDuckGo has been working great for me. It seems to be the difference between working and not working.

overvale avatar Dec 30 '16 03:12 overvale

Once you've been banned, is there any recourse to get unblocked, or is it zero-tolerance? I prefer to stick w/ Google for results, but if I did (accidentally) get banned, I'd like to know that there is a way back.

luckman212 avatar Apr 16 '17 21:04 luckman212

Does this issue still persist? It seems like no one has reported anything since December of last year.

fxjkhr avatar Nov 09 '17 17:11 fxjkhr

Requesting update on the state of this issue:

  1. Does google still ban, in practice? How sticky is the ban?
  2. Does duckduckgo still not ban, in practice?

moribellamy avatar Jan 22 '20 18:01 moribellamy

How is it that other browsers don't get blocked by Google? Surely we can just ape their API calls?

NightMachinery avatar Oct 22 '20 20:10 NightMachinery