HTMLParser problem

Valkyrie valkyrie at cuhk.edu.hk
Wed Nov 17 05:22:44 EST 2004


I've used regular expression to deal with the problem finally, sigh...

Thanks everyone!


Dirk-Jan C. Binnema wrote:
> On Tue, 16 Nov 2004 22:14:33 +0800, Valkyrie <valkyrie at cuhk.edu.hk> wrote:
> 
>>Thank you. That means there is no way to deal with it using simple python
>>built-in functions?
> 
> 
> Well, you can always preprocess your HTML by replacing dubious
> constructs. It's ugly but it works. You might even do something smart
> and replace thing back after processing.
> 
> Good luck,
> Dirk.
> 
> -------------------------------------
>     Dirk-Jan C. Binnema (djcb)
> mail: djcb [at] djcbsoftware [dot] nl
> blog: www.djcbsoftware.nl/ChangeLog
> im  : djcb at jabber.org
> -------------------------------------



More information about the Python-list mailing list