manual http request

Simon Brunning simon at brunningonline.net
Tue May 23 04:16:11 EDT 2006


On 5/22/06, Steve Young <drevil_53711 at yahoo.com> wrote:
> Hi, I was wondering if there's a way to mimic a web pages' form and just
> manually send the http request and get the html response without having to
> go through a browser. For example, lets say i wanted to make a search on
> google of the key word "cars" but i want to be able to get the results of
> the search without having to go to google and typing it in and submiting it.

Well, I think that's a breach of Google's terms and conditions, so
don't do that, but to answer your technical query, take a look at
Mechanize - <http://wwwsearch.sourceforge.net/mechanize/>.

-- 
Cheers,
Simon B,
simon at brunningonline.net,
http://www.brunningonline.net/simon/blog/



More information about the Python-list mailing list