Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/python-3.x/15.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 3.x 使用自定义搜索引擎JSON API提取搜索查询的前13000个结果_Python 3.x_Google Search_Google Custom Search_Google Search Api - Fatal编程技术网

Python 3.x 使用自定义搜索引擎JSON API提取搜索查询的前13000个结果

Python 3.x 使用自定义搜索引擎JSON API提取搜索查询的前13000个结果,python-3.x,google-search,google-custom-search,google-search-api,Python 3.x,Google Search,Google Custom Search,Google Search Api,我正在开发一个应用程序(Python3.x),其中我需要使用一个搜索关键字(从结果索引1到13000)收集CSE查询的前13000个结果。对于免费版本的CSE JSON API(我已经尝试过了),每次查询只能得到前10个结果,或者每天只能得到100个结果(通过在增加索引的同时重复相同的查询),否则当结果索引超过100时,它会给出错误(HttpError 400…..返回无效值)。是否有任何选项(付费/免费)可供我部署以实现目标?自定义搜索JSON API的最大深度限制为每个查询100个结果,因此

我正在开发一个应用程序(Python3.x),其中我需要使用一个搜索关键字(从结果索引1到13000)收集CSE查询的前13000个结果。对于免费版本的CSE JSON API(我已经尝试过了),每次查询只能得到前10个结果,或者每天只能得到100个结果(通过在增加索引的同时重复相同的查询),否则当结果索引超过100时,它会给出错误(HttpError 400…..返回无效值)。是否有任何选项(付费/免费)可供我部署以实现目标?

自定义搜索JSON API的最大深度限制为每个查询100个结果,因此您需要找到不同的API或设计一些解决方案来修改查询,以将结果集划分为更小的部分