确定 Google URL 是否为快速搜索

发布于 2024-09-13 04:35:47 字数 1060 浏览 7 评论 0原文

我有一个 URL 列表,我需要显示在其中执行的 Google 搜索词。问题在于,出现的一些谷歌搜索词只是来自谷歌搜索栏的请求,以便它可以显示其建议下拉列表。我需要区分这些,但我不知道如何区分,因为我不明白谷歌的缩写请求参数。

我想在我自己动手之前,先问问是否有人知道如何区分它们。谢谢!

以下是几个搜索示例。

从搜索栏:

http://www.google.com/webhp?hl=en&tab=iw#hl=en&client=hp& ;q=leonardo&aq=f&aqi=g10&aql=&oq=leonardo&gs_rfai=&fp=8631cdd35a4d476d

完整搜索:

http://www.google.com/search?hl=en&client=hp&q=leonardo&aq=f&aqi=g10&aql=&oq=leonardo&gs_rfai= &fp=8631cdd35a4d476d&tch=1&ech=1&psi=1idgTO3ODI6CsQPm5aH0DQ12813700709361

I have a list of URLs and I need to display the Google search terms that were performed within them. The problem is that some of the Google search terms that come up are just requests from the Google search bar so that it can display its dropdown list of suggestions. I need to distinguish between these and I am not sure how to since I don't understand Google's abbreviated request parameters.

I thought I would ask to see if anybody knew how to tell them apart before I dug in and did it myself. Thanks!

Here's a couple of example searches.

From the search bar:

http://www.google.com/webhp?hl=en&tab=iw#hl=en&client=hp&q=leonardo&aq=f&aqi=g10&aql=&oq=leonardo&gs_rfai=&fp=8631cdd35a4d476d

A full search:

http://www.google.com/search?hl=en&client=hp&q=leonardo&aq=f&aqi=g10&aql=&oq=leonardo&gs_rfai=&fp=8631cdd35a4d476d&tch=1&ech=1&psi=1idgTO3ODI6CsQPm5aH0DQ12813700709361

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

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

发布评论

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

评论(1

我的奇迹 2024-09-20 04:35:47

我非常确定您提供的两个示例中的原始查询只是“leonardo”,存在于查询字符串的 q 参数中。因此,实际上,所有搜索词都将遵循“q=”,多个词之间用加号 (+) 分隔。

示例

单个单词:q=leonardo

多个单词:q=leonardo+da+vinci

希望这会有所帮助

~DJ

I'm pretty sure that the original query in either of the examples you've provided is simply 'leonardo', present in the q parameter of the query string. So in effect, all search terms will follow the 'q=', with multiple words separated by plus (+) symbols.

Examples

Single word: q=leonardo

Multiple words: q=leonardo+da+vinci

Hope this helps

~DJ

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