Python web client anyone?

Paul Rubin phr-n2001d at nightsong.com
Mon Oct 15 01:04:25 CEST 2001


"Fredrik Lundh" <fredrik at pythonware.com> writes:
> > Anyone know if there are any web client modules written in Python,
> > along the lines of the Perl LWP module?  Thanks.
> 
> >>> import urllib
> 
> more info here:
> 
> http://www.python.org/doc/current/lib/internet.html

Thanks, this appears to include an HTTP client, which is a start, but
I was looking for something that actually parses the HTML on the
retrieved page like LWP does.  I wonder if there's some way to do that
with the XML libraries (though HTML is generally not well-formed
XML--for example it usually has unterminated <P> tags).  Any
thoughts?



More information about the Python-list mailing list