Google Web Search API has been deprecated and replaced with Custom Search API (see http://code.google.com/apis/websearch/).
I wanted to search the whole web but it looks like with the new API only custom sites can be searched.
Is there a way to search the whole web programmatically? I was able to query the old API using JSON from a Java program.
You could just send them through like a browser does, and then parse the html, that is what I have always done, even for things like Youtube.