Search code examples
javasearch-enginegoogle-search

Google search results


My study is to get as MANY of the urls that google returns claiming to have info of my search. I look at the source code of the search result page, the urls were hidden by Google. Can anyone help me? Just get me on the right direction. Using Java


Solution

  • You can invoke a REST interface to get the Google search results as XML or JSON using the Google Custom Search API (limited to 100 queries / day).

    To make the actual request programmatically check out the HttpURLConnection class.