Differences between revisions 20 and 21
Revision 20 as of 2008-10-12 09:46:22
Size: 1841
Editor: 75-164-152-250
Comment: Fixed some no longer valid url's
Revision 21 as of 2008-11-15 14:00:47
Size: 1877
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:
 * [http://utidylib.berlios.de/ utidylib] and [http://www.egenix.com/files/python/mxTidy.html mxTidy] -- Python interfaces to [http://tidy.sourceforge.net/ html tidy] library to clean up HTML documents.
 * [http://code.google.com/p/html5lib html5lib] A HTML5-compliant library for parsing arbitarily-broken HTML to a range of tree formats including minidom, elementtree (including lxml) and BeautifulSoup
 * [http://www.crummy.com/software/BeautifulSoup/ BeautifulSoup] -- a permissive HTML parser.
 * Don't use [http://python.org/doc/current/lib/module-HTMLParser.html HTMLParser] on HTML that might be invalid! That way lies pain. Either clean it up (using tidy), or use a different parser.
 * [http://docs.python.org/library/urllib.html urllib], [http://docs.python.org/library/urllib2.html urllib2], and [http://docs.python.org/library/httplib.html httplib] in the standard library.
 * [http://wwwsearch.sourceforge.net/ClientCookie/ ClientCookie], [http://wwwsearch.sourceforge.net/ClientForm/ ClientForm], and [http://wwwsearch.sourceforge.net/mechanize/ Mechanize] are higher-level libraries for writing a web client.
 * [http://www.python.org/pypi?:action=display&name=mechanoid&version=0.4.1 mechanoid] a mechanize fork.
 * [http://www.python.org/pypi/libxml2dom libxml2dom] can parse HTML by employing libxml2's liberal HTML parser.
 * [[http://utidylib.berlios.de/|utidylib]] and [[http://www.egenix.com/files/python/mxTidy.html|mxTidy]] -- Python interfaces to [[http://tidy.sourceforge.net/|html tidy]] library to clean up HTML documents.
 * [[http://code.google.com/p/html5lib|html5lib]] A HTML5-compliant library for parsing arbitarily-broken HTML to a range of tree formats including minidom, elementtree (including lxml) and BeautifulSoup
 * [[http://www.crummy.com/software/BeautifulSoup/|BeautifulSoup]] -- a permissive HTML parser.
 * Don't use [[http://python.org/doc/current/lib/module-HTMLParser.html|HTMLParser]] on HTML that might be invalid! That way lies pain. Either clean it up (using tidy), or use a different parser.
 * [[http://docs.python.org/library/urllib.html|urllib]], [[http://docs.python.org/library/urllib2.html|urllib2]], and [[http://docs.python.org/library/httplib.html|httplib]] in the standard library.
 * [[http://wwwsearch.sourceforge.net/ClientCookie/|ClientCookie]], [[http://wwwsearch.sourceforge.net/ClientForm/|ClientForm]], and [[http://wwwsearch.sourceforge.net/mechanize/|Mechanize]] are higher-level libraries for writing a web client.
 * [[http://www.python.org/pypi?:action=display&name=mechanoid&version=0.4.1|mechanoid]] a mechanize fork.
 * [[http://www.python.org/pypi/libxml2dom|libxml2dom]] can parse HTML by employing libxml2's liberal HTML parser.
Line 16: Line 16:
 * [http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/52199 Grab a document from the web] - from the Python Cookbook
 * [http://wwwsearch.sourceforge.net/bits/clientx.html Python web-client programming general FAQs].
 * [http://docs.python.org/library/urllib.html urllib -- Open arbitrary resources by URL]
 * [http://docs.python.org/library/urllib2.html urllib2 -- extensible library for opening URLs]
 * [[http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/52199|Grab a document from the web]] - from the Python Cookbook
 * [[http://wwwsearch.sourceforge.net/bits/clientx.html|Python web-client programming general FAQs]].
 * [[http://docs.python.org/library/urllib.html|urllib -- Open arbitrary resources by URL]]
 * [[http://docs.python.org/library/urllib2.html|urllib2 -- extensible library for opening URLs]]

Client-Side Web Programming

Libraries

Resources

WebClientProgramming (last edited 2014-04-17 01:10:23 by DaleAthanasias)

Unable to edit the page? See the FrontPage for instructions.