3 ms·
Not as big a problem as you might think. Just feed them to a parser designed to deal with broken HMTL, and then use XPath. I'm using lxml in Python for this, an
by pjscott 16y ago
Not as big a problem as you might think. Just feed them to a parser designed to deal with broken HMTL, and then use XPath. I'm using lxml in Python for this, and it's working very well for me.
- timrobinson 16y agoLikewise on .NET, the HTML Agility Pack: http://htmlagilitypack.codeplex.com/ http://htmlagilitypack.codeplex.com/