Google Web Search API 仅返回前 100 个结果集 [英] Google Web Search API returns only the first 100 result set
问题描述
有没有办法在 Google 中搜索和检索特定查询的所有结果?我想使用自定义搜索 API,但结果集的起始索引最多可以是 99 (http://code.google.com/apis/customsearch/v1/using_rest.html) 这意味着我只能检索第一个100 项.就我而言,结果集中大约有 4000 个项目.
Is there a way to search and retrieve all results for a particular query in Google? I want to use Custom Search API, but the starting index of the result set can be 99 at most (http://code.google.com/apis/customsearch/v1/using_rest.html) Which means I can retrieve only the first 100 items. In my case, there are around 4000 items in the result set.
谢谢.
推荐答案
您可以检索大约 1000 个结果:100 页,每页 10 个结果.请参阅:http://code.google.com/apis/customsearch/v1/using_rest.html#query-params
You can retrieve about 1000 results: 100 pages with 10 results each. See: http://code.google.com/apis/customsearch/v1/using_rest.html#query-params
不过,您似乎无法超越这一点.
It seems as if you can't go beyond that, though.
更新:我已经纠正了.只有 100 个.
UPDATE: I stand corrected. It's only 100.
这篇关于Google Web Search API 仅返回前 100 个结果集的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!