I ran the code and nothing goes wrong, no exception either. By the way, what is the user case of this HTMLParser?
Regards, Iceberg On May23, 11:46pm, Massimo Di Pierro <mdipie...@cs.depaul.edu> wrote: > Anybody interested in helping with this? > > It scrapes an html files and converts into a tree hierarchy of web2py > helpers > > '<div>xxx</div>' -> DIV('xxx') > > It kind of works but fails at three exceptions described in the file. > > Massimo > > parsehtml.py > 1K查看下载