Is it possible for me to get a search results based on a query from specific website using google search api. For example query = "car fix" and only show results from "www.wikihow.com".
I prefer the return in json/html format.
Thanks all.
Related
I am a long time customer of using the Custom Search API.
The problem - as described in the CSE documentation - is that the API is intended to search your own site and not the web in general. It misses results, for example from books.google.com, and results from other languages etc.
Is there another (paid) API that returns all results?
Sample search string: "الاستخدامات التالية من التطبيق"
(The above search gets 1 result in Google Search but 0 results in the Custom Search I am paying for.)
Thanks.
I didn't want to switch to Bing, but I was getting better results in the end.
For anyone else having this issue:
https://learn.microsoft.com/en-us/rest/api/cognitiveservices/bing-web-api-v7-reference
I am using the bing search api https://api.datamarket.azure.com/Bing/Search to do searches and get the results back in json. This works however ....
When I do a search using the bing.com web page and search for say camping the results are biased towards my location (aberdeen)so I get campsites in aberdeen in the results. Is there any way I can add my location to the search query in the api to get the same location based results
Unfortunately this is not possible. According to their documentation you can pass in Lat / Long but it still does not bring back location based results.
I did some tests just to make sure by using their dataset explorer and it confirmed that location based results, even with a supplied lat/ long, does not work.
Example Query:
https://api.datamarket.azure.com/Bing/Search/v1/Web?Query=%27english%20pub%27&Latitude=26.3686&Longitude=80.1000
I'd like to get the Totla Number Search Results for a specific term in a specific country
I can't get it throw google custom search api i only get the entire web number search result
I thought about scrapping google but i don't know about legaly issues
Regards
Frank
As the question suggest, does the Google Custom Search API have function to return category (music, entertainment, news, gaming, etc) based on input keywords?
You can use Adwords Keyword Planner tool or display plannertool for getting related ideas of keywords.
I'm writing a search engine for wikipedia articles using lucene on the wiki xml dump and I want to calculate the accuracy of the engine when compared to google wiki result on a particular query, when I give "site:en.wikipedia.org" along with the query. I want to do it for multiple queries so I'm getting the google search result URLs manually. I got Google APIs to use a bot to search Google but the problem is I want to get rid off certain type of results like
"/Category:"
"/icon:"
"/file:"
"/photo:"
and user pages.
But I haven't found a convenient way to do this except for using an iterative method of issuing a query, get n number of results, then filter out by using regular expressions, then retrieve the remaining (n-x) results and so on. Google keeps blocking me when I do that.
Is there an intelligent way to get Google results the way I want using Java?
Thanks in advance guys.
You could just try excluding those pages from the Google results, like this:
living people site:en.wikipedia.org -inurl:category -inurl:category_talk -inurl:file -inurl:file_talk -inurl:user -inurl:user_talk