Question

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.

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top