有没有办法以编程方式访问 Google 的搜索引擎结果? [英] Is there a way to programmatically access Google's search engine results?

查看:25
本文介绍了有没有办法以编程方式访问 Google 的搜索引擎结果?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

谷歌是否提供了一种以编程方式查看特定查询的搜索引擎结果的方法?

Does google offer a way to programmatically see their search engine results for a certain query?

我想构建一个跟踪应用程序,以便用户可以看到他们的网站在谷歌搜索结果中特定关键字的排名.

I want to build a tracking application so that a user can see what rank on the google results their website is for certain keywords.

该程序的行为将是:每天该程序都会向 Google 查询所需的短语,查看用户网站的位置,并通过电子邮件向用户发送有关其短语位置的更新.

The behavior of the program would be: every day the program queries Google for the desired phrases, sees what position the user's websites are, and emails the users an update of their positions for their phrases.

我也希望确保遵守 Google 的服务条款.

I want to be sure to comply with Google's terms of service too.

推荐答案

发现这个问题后,我一直在研究,因为其他答案似乎已经过时.

After finding this question I have been researching as the other answers seem out of date.

Google 搜索 API 将是其他用户引用的明显选择,但它是 现已弃用,取而代之的是自定义搜索 API.

The Google search API would be the obvious choice as quoted by other users however it is now been deprecated in favour of Custom Search API.

虽然一开始并不明显,自定义搜索 API 确实允许您搜索整个网络.然而,坏消息是 结果的顺序与常规网络搜索不同.

Although not obvious at first the Custom Search API does allow you to search the entire web. However the bad news is that the order of the results are not the same as a regular web search.

总而言之,它曾经是可能的,但现在不再可能了.新的 API(收费)将允许您搜索网络,但您将无法按要求获得排名.

In conclusion it used to be possible however it is no longer. The new API (at a cost) will allow you to search the web to you will not be able to get the ranking back as required.

这篇关于有没有办法以编程方式访问 Google 的搜索引擎结果?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆