2012-07-05 86 views
2

有什么办法可以解析Google搜索的结果或者在XML或JSON上检索它们吗?我尝试了谷歌的API,但我没有找到解决方案! 在此先感谢解析器Google搜索结果

回答

0

Google提供的官方API是Google Custom Search。查找更多详细信息here

+0

但是我直接需要XML或JSON结果,因为我将其用于Objective-C编写的应用程序 – user1504389 2012-07-05 15:10:21

+1

请在此处查看:https://developers.google.com/custom-search/v1/using_rest它解释了如何使用REST获取JSON结果 – Mircea 2012-07-05 15:21:35

+0

Google对JSON API有一些限制,但是我发现有一个XML API,如果您为Google Site Search付费,您可以自由使用它: https:// developers.google.com/custom-search/docs/xml_results – Simon 2013-01-30 02:26:39