如何从 Google JSON API 中获得与真实 Google 搜索给出的准确结果
How to get exact results from Google JSON API as real Google search gives
我想得到 Google JSON API 的回复。例如,如果我请求查询 "Benefits of Sport",API 应该 return 关于这个查询,但现在它是 return 其他东西。我得到的不是 accurate/exact 结果。请帮我做请求,我怎样才能将网站包括在我的搜索中?例如,“khanacademy.org”或其他任何内容。谢谢
我已经通过设置查询尝试了很多次,但是 return有些不同
https://www.googleapis.com/customsearch/v1?key={myKey}&cx={myCX}&num=1&q=Benefits+of+sport
预期结果:关于运动的东西。
实际结果:"Tyson Fury v Deontay Wilder: Briton benefits from base Lennox ..."
我想回答我的问题,因为我找到了答案。因此,为了获得准确的结果,我们可以添加站点 khanacademy.org、whosebug.com 或任何其他站点以从该站点
进行搜索
我想得到 Google JSON API 的回复。例如,如果我请求查询 "Benefits of Sport",API 应该 return 关于这个查询,但现在它是 return 其他东西。我得到的不是 accurate/exact 结果。请帮我做请求,我怎样才能将网站包括在我的搜索中?例如,“khanacademy.org”或其他任何内容。谢谢
我已经通过设置查询尝试了很多次,但是 return有些不同
https://www.googleapis.com/customsearch/v1?key={myKey}&cx={myCX}&num=1&q=Benefits+of+sport
预期结果:关于运动的东西。 实际结果:"Tyson Fury v Deontay Wilder: Briton benefits from base Lennox ..."
我想回答我的问题,因为我找到了答案。因此,为了获得准确的结果,我们可以添加站点 khanacademy.org、whosebug.com 或任何其他站点以从该站点
进行搜索