确定 Google URL 是否为快速搜索
我有一个 URL 列表,我需要显示在其中执行的 Google 搜索词。问题在于,出现的一些谷歌搜索词只是来自谷歌搜索栏的请求,以便它可以显示其建议下拉列表。我需要区分这些,但我不知道如何区分,因为我不明白谷歌的缩写请求参数。
我想在我自己动手之前,先问问是否有人知道如何区分它们。谢谢!
以下是几个搜索示例。
从搜索栏:
完整搜索:
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:
A full search:
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我非常确定您提供的两个示例中的原始查询只是“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