Closed fluca1978 closed 5 years ago
Work in progress: I've tried to get the result via command line:
wget 'http://ajax.googleapis.com/ajax/services/search/web?v=1.0&q=postgresql'
that provides:
{"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}
I suspect the only way is either to abandon the FDW or get an api key https://developers.google.com/api-client-library/python/guide/aaa_apikeys
I'm using PostgreSQL 9.6.5 on FreeBSD 11-Release, Python 2.7. I've installed multicorn succesfully, and Im able to run other FDW.
Now I try to define a google server as follows:
and then define the foreign data table:
and try to execute a query:
and in the logs I've got:
Sounds to me like it is issuing a wrong query and not getting the result. Am I doing something wtong? Should the code protect against null results?