【问题标题】:Google CustomSearch ignores imgType?谷歌自定义搜索忽略 imgType?
【发布时间】:2017-05-16 04:07:42
【问题描述】:

似乎使用 google CSE api 总是忽略我的 imgType 属性,即使是通过他们的 official API test page

我的要求是:

{
    "q": "Maimi Yajima",
    "cx": "014585077406021600032:tu4nwhtmr5q",
    "searchType": "image",
    "imgType": "clipart"
}

但即使更改 imgType 我总是得到相同的结果。

我哪里错了?

【问题讨论】:

  • 不幸的是,这对我来说似乎是一个错误。类似的问题here 没有答案。还有一个线程here 关于同样的问题,没有解决方案或解决方法。我找不到来自 Google 的票证或回复。
  • 您是否在 CSE 设置中打开了图像搜索? (理智检查,因为还没有答案)support.google.com/customsearch/answer/2630972?hl=en
  • @Emptyless 是的。

标签: face-detection google-search-api


【解决方案1】:

虽然没有得到 Google 的确认,但这很可能是一个错误,或者 Google 故意破坏了 imgType 参数而不更新他们的文档。

【讨论】:

    猜你喜欢
    • 2015-10-18
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-12-13
    • 2013-01-21
    • 2011-10-18
    相关资源
    最近更新 更多