{"id":77375,"library":"nokogiri","title":"Nokogiri","description":"Nokogiri (鋸) makes it easy and painless to work with XML and HTML from Ruby. It provides a sensible, easy-to-understand API for reading, writing, modifying, and querying documents. It is fast and standards-compliant by relying on native parsers like libxml2, libgumbo, or xerces.","status":"active","version":"1.19.3","language":"ruby","source_language":null,"source_url":"https://github.com/sparklemotion/nokogiri","tags":["xml","html","parser","scraping","nokogiri"],"install":[{"cmd":"gem install nokogiri","lang":"bash","label":"gem install"},{"cmd":"# Gemfile\ngem 'nokogiri', '~> 1.19.3'","lang":"ruby","label":"Gemfile"}],"dependencies":[],"imports":[{"symbol":"Nokogiri","correct":"require 'nokogiri'"}],"quickstart":{"code":"require 'nokogiri'\ndoc = Nokogiri::HTML('<html><body><h1>Hello</h1></body></html>')\nputs doc.at_css('h1').text","lang":"ruby","description":"Parse an HTML string and extract text from an element"},"warnings":[{"fix":"Install system dependencies (libxml2-dev, libxslt1-dev) or use the precompiled gem via `gem install nokogiri --platform=ruby`","message":"Nokogiri requires native extensions (libxml2/libgumbo) which may fail to compile on some systems","severity":"breaking","affected_versions":">= 1.0.0"}],"env_vars":null,"search_vec":"'api':25 'compliant':39 'document':32 'easi':6,22 'easy-to-understand':21 'fast':35 'html':14,51 'libgumbo':47 'libxml2':46 'like':45 'make':4 'modifi':29 'nativ':43 'nokogiri':1,2,54 'painless':8 'parser':44,52 'provid':18 'queri':31 'read':27 'reli':41 'rubi':16 'scrape':53 'sensibl':20 'standard':38 'standards-compli':37 'understand':24 'work':10 'write':28 'xerc':49 'xml':12,50 '鋸':3","created_at":"2026-06-18T03:48:25.197930+00:00","updated_at":"2026-06-18T03:48:25.197930+00:00","problems":[],"ecosystem":"rubygems","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":"1.19.4","cli_name":null,"cli_version":null,"type":"library","homepage":"https://nokogiri.org","github":"https://github.com/sparklemotion/nokogiri","docs":"http://www.rubydoc.info/gems/nokogiri/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["serialization"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"passing","verified_at":null,"last_verified":"2026-08-28","next_check":"2026-12-15","install_tag":null}}