Size: 1875
Comment: ClientCookie, mechanoid & GeneralFAQ links update
|
Size: 1876
Comment: µTidylib
|
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://utidylib.berlios.de/|µTidylib]] 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. |
Client-Side Web Programming
Libraries
µTidylib and mxTidy -- Python interfaces to html tidy library to clean up HTML documents.
html5lib A HTML5-compliant library for parsing arbitarily-broken HTML to a range of tree formats including minidom, elementtree (including lxml) and BeautifulSoup
BeautifulSoup -- a permissive HTML parser.
Don't use HTMLParser on HTML that might be invalid! That way lies pain. Either clean it up (using tidy), or use a different parser.
ClientCookie, ClientForm, and Mechanize are higher-level libraries for writing a web client.
mechanoid a mechanize fork.
libxml2dom can parse HTML by employing libxml2's liberal HTML parser.