4 ms·
You can try HTMLDOC (http://htmldoc.rubyforge.org/ http://htmldoc.rubyforge.org/) which is a wrapper around a C library (I believe) that does exactly this. I've
by petesalty 17y ago
You can try HTMLDOC (http://htmldoc.rubyforge.org/ http://htmldoc.rubyforge.org/) which is a wrapper around a C library (I believe) that does exactly this. I've used it before, it's pretty fast and stable and you don't have to worry about JVM.