gpt4 book ai didi

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

转载 作者:行者123 更新时间:2023-12-03 18:04:30 24 4
gpt4 key购买 nike

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

谢谢。

最佳答案

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

不过,似乎您无法超越这一点。

更新:我已经纠正了。它只有100。

关于api - Google Web Search API 仅返回前 100 个结果集,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5008689/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com