Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
这是我的要求:
https://www.googleapis.com/customsearch/v1?key=MYKEY&q=flowers&alt=json&siteSearch=google.com|youtube.com&siteSearchFilter=i&cx=MYCXKEY
当我创建 Google 搜索引擎时,我设置了一个页面,但我希望 siteSearch 覆盖该选项并让我搜索更多网站。
但它什么也没做?
你的问题能更清楚一点吗?“设置页面”是什么意思?
如果您尝试进行正常搜索,只需取出 siteSearch 和 siteSearchFilter 参数。
如果您尝试排除 google.com 和 youtube.com,请更改您的 | 到 && 并将 siteSearchFilter 从 i 更改为 e。