开发者

Google Web Search API returns only the first 100 result set

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开发者_C百科 only the first 100 items. In my case, there are around 4000 items in the result set.

Thanks.


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.

UPDATE: I stand corrected. It's only 100.


BTW - The new Google API can return more than 10 results per page, limited by 20 results per page, using num=20

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜