Reputation: 21
I'm trying to search the Bing API for a list words using the 'site' parameter to only get results from that site / domain.
I've tried to use the following as a search query in bing
site:https://www.bbcgoodfood.com/ cake OR gateau OR victoria sponge
However this does not bring back appropriate results. I only want results from that site and I want to see if they contain any of those words.
Upvotes: 0
Views: 670
Reputation: 64
What you are looking for is actually Bing Custom Search API. Use Bing Custom Search API, to scope your results from limited domains (in your case a single domain). It comes in two flavor:
Try it out here: https://azure.microsoft.com/en-us/services/cognitive-services/bing-custom-search/
Upvotes: 0
Reputation: 736
The problem here seems to be with "OR"ing of multiple queries. If you remove all the "OR"s from this query, it works. If you really need to "OR", you can make different queries with one phrase each time and site:.
Upvotes: 0