Google Web Search API仅返回前100个结果集

时间:2011-02-15 19:42:39

标签: api search google-api

有没有办法在Google中搜索和检索特定查询的所有结果?我想使用自定义搜索API,但结果集的起始索引最多可以是99(http://code.google.com/apis/customsearch/v1/using_rest.html)这意味着我只能检索第一个100件物品。就我而言,结果集中大约有4000个项目。

感谢。

2 个答案:

答案 0 :(得分:2)

您可以检索大约1000个结果:100页,每页10个结果。请参阅:http://code.google.com/apis/customsearch/v1/using_rest.html#query-params

但是,似乎你不能超越它。

更新:我的立场得到了纠正。它只有100个。

答案 1 :(得分:-3)

BTW - 新的Google API每页可返回10个以上的结果,每页限制为20个结果,使用num = 20

http://www.google.com/cse/docs/resultsxml.html

相关问题