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 に変更します。