检查 Google 搜索结果中的页面位置

发布于 2024-10-01 15:28:30 字数 91 浏览 0 评论 0原文

有没有什么方法可以检查Google搜索中的页面位置(我不是指浏览,只是在一个请求中)。据我所知,Google SOAP Search API 似乎长期以来一直存在问题。

Is there any way to check page position in Google serach (I don't mean browsing, just in one request ). There seems to be a problem with Google SOAP Search API for a long time as I know.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

望她远 2024-10-08 15:28:30

您始终可以尝试使用功能测试工具。例如 seleniumcanoo Web 测试

你要做的就是循环抛出页面(在谷歌搜索输入框中添加关键字,然后模拟点击谷歌搜索中下一页的链接)。
在每个页面上,您只需检查页面标题、描述或链接是否在页面上。
唯一的问题是你只能检查(谷歌的限制)100页(关键字总共有1000个结果)

You can always try with functional testing tools. Like selenium or canoo web test.

What you have to do is to loop throw pages (add keywords in google search input box and then simulate clicks on the links to next pages in google search).
And on every page you just have to check if your page title, description or link is on the page.
Only problem is that you can check (its google's limit) only 100 pages (1000 results overall for keyword(s))

世界如花海般美丽 2024-10-08 15:28:30

您考虑过屏幕抓取吗?我最近开始使用 Selenium 和 Selenium IDE 来进行网页的屏幕抓取,我发现它比我想象的更容易上手。

例如,使用 Selenium IDE,您可以单击要访问的链接/页面,它会神奇地自动生成 jUnit3/4、C# 和其他几种语言。

有相当多的项目被我搁置了,但在重新开始后找到了解决方案。 Selenium 网站链接

Have you considered screen scraping? I have recently started using Selenium and Selenium IDE to do Screen scraping of web pages, and I found It was easier than I thought to pick up.

For example, with Selenium IDE, you can click through the links/pages that you want to visit, and it will generate jUnit3/4, C#, and few other languages auto-magically.

There were quite a few projects that I had on the back burner that found a solution after picking it up. Link to Selenium site

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文