Open brigand opened 8 years ago
Here's api response:
{"responseData": null, "responseDetails": "The Google Web Search API is no longer available. Please migrate to the Google Custom Search API (https://developers.google.com/custom-search/)", "responseStatus": 403}
https://news.ycombinator.com/item?id=11625633 :frowning:
We either need to reverse engineer the google.com internal JS API (used by https://www.google.com/#q=test) or resort to scraping HTML. Also, automated use will probably trigger CAPTCHAs as explained at https://news.ycombinator.com/item?id=11625927.
Maybe useful https://support.google.com/customsearch/answer/2631040?hl=en
For web scraping, there's 'google' on npm.
I read some API docs, they have a JSON API
MDN could maybe be fixed using https://developer.mozilla.org/en-US/docs/MDN/Contribute/Tools/Search
Feeling Ducky! :grin:
Created a replacement. Works the same Googles Lucky Search used to.
Greetz!
Pull Request here:
Here's the error: