What do you think is the most fleshed out HTML parsing shard?


#1

Trying to rebuild an app I made with Rails into Crystal and I need to parse some HTML.

Looking for some insight from people in the trenches.


#2

After wrestling for two hours with Crystagiri, I have thrown in the towel.

myhtml has my vote. However, I did have to dive into the sourcecode to figure out how to use it. The documentation is a little lacking.


#3

What about require "xml"; XML.parse_html(...)? It’s in the standard library. It’s just a wrapper around libxml2.


#4

I just prefer css selectors over xpath selectors. (More readable also to me since I’m a frontend guy too)