I created a Google CSE and I want it to add to my query "AND (apples OR BANANAS)".

Besides that, is there a way to retrieve specific info from result pages?

Is this possible, if yes how.

有帮助吗?

解决方案

For the first part of your question, I think you would have to manually add "AND (apples OR BANANAS)" to each query string.

For the second part, I"m not sure quite what you mean by 'specific info', but if you want extended info, take a look at the pageMap information that is returned as part of each Result - that often gives useful additional info. For anything beyond what is in the list of results, you would need to retrieve and parse the corresponding page yourself.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top