HTMLParser.HTMLParseError: EOF in middle of construct

Stefan Behnel stefan.behnel-n05pAM at
Tue Jun 19 23:28:02 CEST 2007

Sérgio Monteiro Basto wrote:
> but is one single error that blocks this.
> Finally I found it , it is :
> <td colspan="2"align="center"
> if I put :
> <td colspan="2" align="center"
> p = re.compile('"align')
> content = p.sub('" align', content)
> I can parse the html 
> I don't know if it a bug of HTMLParser 

Sure, and next time your key doesn't open your neighbours house, please report
to the building company to have them fix the door.


More information about the Python-list mailing list