nathancahill / Anycomplete

The magic of Google Autocomplete while you're typing. Anywhere.
1.54k stars 49 forks source link

Google shut me down for "automated queries" #26

Open overvale opened 7 years ago

overvale commented 7 years ago

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 commented 7 years ago

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

tomholford commented 7 years ago

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

nathancahill commented 7 years ago

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?

overvale commented 7 years ago

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

luckman212 commented 7 years ago

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.

fxjkhr commented 6 years ago

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

moribellamy commented 4 years ago

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?

NightMachinery commented 3 years ago

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