Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Sep 20th, 2004, 3:14 AM   #1
erebus
Programmer
 
erebus's Avatar
 
Join Date: Aug 2004
Location: /dev/null
Posts: 65
Rep Power: 4 erebus is on a distinguished road
Send a message via AIM to erebus
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
__________________
<span style='font-size:14pt;line-height:100%'><span style='color:red'>&quot;Political power grows out of the barrel of a gun&quot; - Mao Tse-Tung</span></span>
erebus is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 6:59 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC