Kowalski wrote:

> from mechanize import Browser
> 
> br = Browser()
> br.open("http://www.google.com";) #example
> 
> for form in br.forms():
>     print form
> 
> br.select_form(name="f")
> br["q"] = "Blah" 
> 
> #???
> #response1=br.submit() 
> #???
> 
> 
Google publish an api for searching. Use that instead of trying to spoof 
the web interface.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to