Skip to content
N

Nokolexbor

High-performance HTML5 parser for Ruby based on Lexbor

by serpapiFree

#3094in Utilities
0In stores

Description

Nokolexbor is a Ruby HTML parser that works as a drop-in replacement for Nokogiri. It is built on the Lexbor HTML5 parser and aims for an AP…

Highlights

  • Drop-in replacement for Nokogiri's API
  • Fast HTML5 parsing and CSS selectors on Lexbor
  • XPath support ported from libxml2
  • Text-node selection with ::text
  • Pre-compiled gems for common platforms

Ratings & Reviews

No ratings yet

Be the first to rate Nokolexbor.

People also visit

S

Selectolax

Python binding to Modest and Lexbor engines

Utilities
Launch
S

Stealth-Requests

Undetected web-scraping & seamless HTML parsing in Python!

Utilities
Launch
P

Parse Hub

The most powerful web scraper

Developer Tools
Launch
L

Lol Html

Low output latency streaming HTML parser/rewriter with CSS selector-based API

Entertainment
Launch
J

Jsoup

The Java HTML parser, built for HTML editing, cleaning, scraping

Photo & Video
Launch
K

konippi/servo-fetch

Chromium-free web content extraction in a single binary: fetch, render

AI Skills
Get

Nokolexbor FAQ

Is it a drop-in replacement for Nokogiri?

The project aims for an API that is as close to 1:1 compatible with Nokogiri as possible. The README lists the places where behavior differs, such as how nth-of-type counts elements after earlier filters.

How much faster is it?

The README says it parses HTML 4.7 times faster than Nokogiri and runs CSS selectors up to 1352 times faster. These are the project's own figures.

Which platforms are supported?

Pre-compiled gems cover Linux on x86_64 and aarch64, macOS on x86_64 and arm64, and Windows on ucrt64. Other platforms need CMake to compile the C extensions.

How do I install it?

Add it to your Gemfile and run bundle install, or install the gem directly.

What are the best Nokolexbor alternatives?

Popular alternatives to Nokolexbor include Selectolax, Stealth-Requests and Dataflow kit. See all Nokolexbor alternatives

Developer Stuff

Badges