What HTML parsing libraries do you recommend in Java [closed]

微笑、不失礼 提交于 2019-11-26 18:51:08

NekoHTML, TagSoup, and JTidy will allow you to parse HTML and then process with XML tools, like XPath.

I have tried HTML Parser which is dead simple.

Do you need to do a full parse of the HTML? If you're just looking for specific values within the contents (a specific tag/param), then a simple regular expression might be enough, and could very well be faster.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!