Nokogiri
Query XML and HTML documents in a Ruby application.
sparklemotion · Data tools
GitHub projectOpen source Open on GitHubHow to try it
With Ruby 3.2 available, install nokogiri at version 1.19.7. Parse a synthetic HTML fragment and select a fruit with a CSS selector.
What we tested
1.19.7. Parse a synthetic HTML fragment and select a fruit with a CSS selector. The selector returned the exact pear text.