01-08-2009, 06:43 PM
The first part is possible...
str SearchWord="joey figjiani"
SearchWord.findreplace(" " "+")
The "Did you mean:" is right here in the HTML there in this section:
Now to just grab "Joey Figgiani" instead of "Joey Figjiani"
Do you think this would be against Google's policy or anything?
str SearchWord="joey figjiani"
SearchWord.findreplace(" " "+")
str url.format("http://www.google.com/search?hl=en&q=%s" SearchWord)
HtmlDoc d.InitFromWeb(url)
str s=d.GetHtml
out sThe "Did you mean:" is right here in the HTML there in this section:
<DIV class=med id=res>
<H2 class=hd>Search Results</H2>
<DIV>
<OL>
<LI>
<P><FONT class=p color=#cc0000>Did you mean: </FONT><A class=p href="/search?hl=en&ie=UTF-8&sa=X&oi=spell&resnum=1&ct=result&cd=1&q=joey+figgiani&spell=1">joey <B><I>figgiani</I></B></A>Now to just grab "Joey Figgiani" instead of "Joey Figjiani"
Do you think this would be against Google's policy or anything?
