Anycomplete
Anycomplete copied to clipboard
Google shut me down for "automated queries"
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?
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
Perhaps this is a good time to reconsider debouncing? (like in this PR: https://github.com/nathancahill/Anycomplete/pull/12)
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?
DuckDuckGo has been working great for me. It seems to be the difference between working and not working.
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.
Does this issue still persist? It seems like no one has reported anything since December of last year.
Requesting update on the state of this issue:
- Does google still ban, in practice? How sticky is the ban?
- Does duckduckgo still not ban, in practice?
How is it that other browsers don't get blocked by Google? Surely we can just ape their API calls?