I have been looking into how one can automated google searches without the use of the API or a google developer's key. Thus far, after some research on ftp and http, I have come to the conclusion that(with the help of some IRC buddies) have figured out that you must make a connectoin to google via something like telnet on port 80 and use get to take advantage of the /search?q that google uses for every search. One can invoke such directly from the browser through "elinks www.google.com/search?q=blah", but I want something I could store in a file or hide in the background. Also, the below method will dump html. If someone can figure out a way to format this for readability or knows another less cumbersome way of doing this, please tell me please.
echo -e "GET /search?q="search"+"string" HTTP/1.1 \n" | nc www.google.com 80 > google_results