qmetrics.net

Cheerio

jQuery-style library for parsing and manipulating HTML and XML

Cheerio screenshot

Cheerio loads HTML or XML and exposes a familiar selector API to traverse and change documents. It is used heavily for server-side parsing and scraping tasks.

Overview

Cheerio is a JavaScript library for parsing and working with HTML and XML outside the browser. It implements a subset of the jQuery API on top of a simple DOM model so you can load markup, query with CSS selectors, read and mutate elements, and render serialized HTML or text.

Parsing can go through parse5 for HTML or optionally the more forgiving htmlparser2, which helps with imperfect documents. Collections behave like lightweight DOM nodes with properties such as tagName, parentNode, and childNodes, and methods mirror common jQuery patterns for finding and updating content.

Because it avoids full browser machinery, Cheerio is oriented toward efficient parse-and-transform workflows in Node and similar environments. The project notes use in production for HTML transformation scripts and scraping pipelines, and documents that it runs in both browser and server contexts.

Installation is via standard JavaScript package managers. The API centers on loading a document string, selecting elements, manipulating them, and exporting html, outerHTML, or text results from the root selection.

Key features

  • jQuery-like selector syntax
  • HTML and XML parsing
  • parse5 and htmlparser2 backends
  • DOM traversal and manipulation
  • HTML and text rendering
  • Server and browser use
  • Lightweight DOM model
  • npm package distribution

Use cases

  • Server-side HTML transforms
  • Scraping static page markup
  • Templating and post-processing HTML
  • Extracting text from documents

Tags

Similar software

PaddleOCR

OCR toolkit for documents and scene text

PaddleOCR parses PDFs and images into structured Markdown or JSON with multilingual text and layout models.

  • PDF and image to Markdown or JSON
  • Layout, table, and formula parsing models
  • Multilingual scene text recognition
PythonLinux, Windows, DockerDetails →
★ 93.8k⟳ yesterdayApache-2.0

Crawl4AI

Web crawler and extraction library for AI pipelines

Crawl4AI turns web pages into clean Markdown or structured JSON for RAG and agents. Use the Python library, Docker server, CLI, or the hosted Crawl4AI Cloud API.

  • LLM-ready Markdown output
  • Structured JSON extraction
  • Async browser pool
PythonDocker, CLIDetails →
★ 88.5k⟳ 11 days agoApache-2.0
Open Source Alternative to:Zyte

CloakBrowser

Stealth Chromium wrapper for Playwright and Puppeteer

CloakBrowser ships a patched Chromium binary and drop-in launch helpers for Python, JavaScript, and .NET. Fingerprints are altered at compile time rather than via injected scripts.

  • Drop-in Playwright launch API
  • Puppeteer import path
  • Source-level fingerprint patches
PythonDocker, CLIDetails →
★ 35.4k⟳ todayMIT
Open Source Alternative to:AdsPowerGoLogin+1

ScrapeGraphAI

LLM-driven Python web scraping pipeline library

ScrapeGraphAI builds scraping pipelines with language models and graph logic. You specify what to extract and it processes websites or local HTML, JSON, XML, and Markdown sources.

  • Prompt-driven single-page extraction
  • Multi-page search and scrape graphs
  • Script and audio generation pipelines
PythonDetails →
★ 33.1k⟳ 1 month agoMIT
Open Source Alternative to:Zyte

OpenDataLoader PDF

PDF parser for structured LLM and accessibility output

Converts PDFs to Markdown, JSON with bounding boxes, and HTML for RAG and analysis. Offers local deterministic mode and optional hybrid AI for hard pages.

  • Markdown, JSON, and HTML export
  • Bounding boxes per document element
  • XY-Cut++ multi-column reading order
JavaCLIDetails →
★ 30.4k⟳ yesterdayApache-2.0

Crawlee

Node.js web scraping and browser automation library

Crawlee builds reliable crawlers in JavaScript or TypeScript with HTTP or headless browsers, queues, storage, proxies, and retries.

  • HTTP and browser crawlers
  • Playwright and Puppeteer support
  • Persistent request queues
TypeScriptCLIDetails →
★ 26.7k⟳ todayApache-2.0
Open Source Alternative to:Zyte