NOKOGIRI(1) | NOKOGIRI(1) |
nokogiri - an HTML, XML, SAX, and Reader parser
Nokogiri (鋸) is an HTML, XML, SAX, and Reader parser. Among Nokogiri’s many features is the ability to search documents via XPath or CSS3 selectors. The nokogiri command parses a document, and launches an interactive ruby session (irb(1)), allowing one to analysing the result interactively.
nokogiri <uri|path> [options]
nokogiri http://www.ruby-lang.org/
nokogiri ./public/index.html
curl -s http://nokogiri.org | nokogiri -e'p $_.css("h1").length'
2021-02-08 |