orc-lang / orc

Orc programming language implementation
https://orc.csres.utexas.edu/
BSD 3-Clause "New" or "Revised" License
40 stars 3 forks source link

GoogleSearchFactory always throws JSONException #146

Closed jthywiss closed 8 years ago

jthywiss commented 8 years ago

Whenever the orc.lib.net.GoogleSearchFactory site is called, it throws a org.codehaus.jettison.json.JSONException, with the message "JSONObject["responseData"] is not a JSONObject.".

jthywiss commented 8 years ago

Reason is that the response is: {"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}

We need to call a new Google API.

dkitchin commented 8 years ago

I work on API migration, but I don't think that deprecation is directly my fault. :)

jthywiss commented 8 years ago

Fixed in 5dc15ef47a34152a029bc1f0f81a804ebd9b303e