【问题标题】:Using the TBS (or equivalent parameter) in Google Custom Search在 Google 自定义搜索中使用 TBS(或等效参数)
【发布时间】:2014-11-24 00:07:17
【问题描述】:

使用 Google 自定义搜索 时,似乎支持用于选择特定类型搜索引擎的 TBM 参数(例如 tbm=pts 用于专利或 tbm=blg 用于博客),尽管这并不正确记录在参数列表中。

但是,当使用这种“特殊”搜索时,通常使用 TBS 参数扩展查询,不幸的是这对我不起作用。例如: https://www.google.com/?tbm=pts&gws_rd=ssl#q=touch+screen&tbas=0&tbs=ptss:g,ptso:us&tbm=pts 从浏览器发布时正确过滤。

但等效的自定义搜索: https://www.googleapis.com/customsearch/v1?key=*MY_KEY*&cx=*MY_ENGINE*&tbm=pts&q=lice+comb&tbs=ptss:g 完全忽略 TBS 参数。

有没有办法在自定义搜索中指定等效参数?

【问题讨论】:

    标签: google-custom-search


    【解决方案1】:

    在控制面板中设置图像搜索以生成单独的图像选项卡(可以设置为默认值)。如果您正在编辑现有 CSE,它位于左侧列的搜索功能下,然后单击图像搜索设置。您可以编辑设置,但指定图像类型(例如,面孔)不是其中之一 - 另请参阅 https://support.google.com/customsearch/answer/2630972?hl=en&ref_topic=4513743https://support.google.com/customsearch/answer/3037004?hl=en&topic=3036698 如果您想做其他类似的事情,您最好创建一系列书签(可以通过https://w-shadow.com/bookmarklet-combiner/ 等免费工具轻松共享)或通过您自己的 JS 增强网页,您可以在其中构建所有这些参数。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2019-07-17
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-04-13
      相关资源
      最近更新 更多