I have asked this question previously and the question closed as it has been previously asked and well answered in the following: How can you search Google Programmatically Java API
Unfortunately, "The Google Web Search API has been officially deprecated as of November 1, 2010". So, can any one please provide me with an answer for my question. I need to extract URLs from google search results and save them to txt file without duplicate results. I was able to extract URLs from web page using JSoup, but not google search results.