如何在java中处理/解析格式错误的HTML到DOM?

0 html java parsing dom

我正在使用NekoHtml.它无法将html从像mercurynews.com这样的网站解析为DOM.解决问题的方法是什么?