ForgePlucker starts using BeautifulSoup
svn.gna.org
svn.gna.org
http://svn.gna.org/viewcvs/forgeplucker/trunk/forgeplucker/h...
# This doesn't use Beautiful Soup (yet) because there's a Berlios case
# BS may not be able to cope with. We'll check sometime.
I wonder if he's having issues with 3.1.0 which frankly never worked for me (as clearly stated by the BS developer) when used on normal web sites. import html5lib
from html5lib.treebuilders import getTreeBuilder
parser = html5lib.HTMLParser(tree=getTreeBuilder("beautifulsoup"))
soup = parser.parse(open("mydocument.html"))
[1] http://www.crummy.com/software/BeautifulSoup/3.1-problems.ht...