AngleSharp ist ein HTML5-DOM-Parser und Web-Scraping-Framework, das entwickelt wurde, um HTML5-, SVG- und MathML-Dokumente in ein W3C-konformes Document Object Model zu parsen. Es fungiert als programmatischer HTML-Generator und CSS-Selektor-Engine zum Abfragen und Lokalisieren spezifischer Elemente innerhalb eines DOM.
Die Hauptfunktionen von anglesharp/anglesharp sind: HTML and XML Parsing, W3C Compliant Parsers, HTML5 Parsers, HTML Tokenization, DOM Tree Traversers, CSS Selector Engines, Structural Navigation, DOM Tree Construction.
Open-Source-Alternativen zu anglesharp/anglesharp sind unter anderem: scinfu/swiftsoup — SwiftSoup is a cross-platform HTML processing library for Swift that converts raw HTML or XML strings and files into a… sunra/php-simple-html-dom-parser — php-simple-html-dom-parser is a PHP library for parsing HTML documents into a traversable in-memory tree that handles… cheeriojs/cheerio — Cheerio is an HTML and XML parsing library and server-side DOM implementation. It functions as a markup manipulation… paquettg/php-html-parser — PHP HTML Parser is a server-side programming library and DOM parser designed to ingest markup documents and structure… sparklemotion/nokogiri — Nokogiri is an XML and HTML parsing library that builds navigable document trees from strings, files, or URLs using… bendc/sprint — Sprint is a lightweight DOM manipulation and event handling library. It provides a minimal set of utilities for…
SwiftSoup is a cross-platform HTML processing library for Swift that converts raw HTML or XML strings and files into a structured document object model. It provides the core infrastructure to parse web content into a traversable tree, enabling programmatic access to page elements across iOS, macOS, and Linux. The library features a CSS selector engine for data extraction and a whitelist-based sanitization system to remove unsafe tags and attributes from user-submitted content. It optimizes repetitive document queries through memoized query caching. The project covers DOM manipulation for upd
php-simple-html-dom-parser is a PHP library for parsing HTML documents into a traversable in-memory tree that handles malformed markup gracefully. It constructs a complete object graph from raw HTML strings while retaining document structure and relational node hierarchies, and supports lazy child node iteration to load descendant nodes on demand for large documents. The library features a CSS selector query engine that translates selector expressions to locate and filter matching nodes within the parsed DOM tree. Programmatic accessors provide direct string-based attribute retrieval to extra
Cheerio is an HTML and XML parsing library and server-side DOM implementation. It functions as a markup manipulation tool and CSS selector engine, allowing users to parse, query, and modify HTML or XML documents in non-browser environments. The project provides a DOM-like tree representation of markup strings, enabling programmatic addition, removal, and modification of elements and attributes. It features a prototype-based plugin system that allows the extension of core functionality by adding custom methods to the document prototype. The library covers a broad range of capabilities includi
PHP HTML Parser is a server-side programming library and DOM parser designed to ingest markup documents and structure them into a navigable parent-child object tree. The library provides a stream-based character lexer and a configurable rule engine that manages parser strictness, whitespace preservation, tag closing behavior, and character encoding detection during document ingestion. Content loading is handled through a pluggable retrieval layer that accepts local file paths, raw strings, and remote network URLs. Once loaded, documents can be queried using a chainable CSS selector engine th