awesome-repositories.com
Blog
MCP
awesome-repositories.com

Descubre los mejores repositorios open-source con nuestra búsqueda potenciada por IA.

ExplorarBúsquedas curadasAlternativas open-sourceSoftware autohospedableBlogMapa del sitio
ProyectoServidor MCPAcerca deCómo clasificamosPrensa
Aviso legalPrivacidadTérminos
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
scinfu avatar

scinfu/SwiftSoup

0
View on GitHub↗
5,087 estrellas·388 forks·Swift·MIT·11 vistasscinfu.github.io/SwiftSoup↗

SwiftSoup

SwiftSoup es una biblioteca de procesamiento HTML multiplataforma para Swift que convierte cadenas y archivos HTML o XML sin procesar en un modelo de objetos de documento (DOM) estructurado. Proporciona la infraestructura central para analizar contenido web en un árbol navegable, permitiendo el acceso programático a elementos de página en iOS, macOS y Linux.

La biblioteca cuenta con un motor de selectores CSS para la extracción de datos y un sistema de sanitización basado en listas blancas para eliminar etiquetas y atributos inseguros del contenido enviado por el usuario. Optimiza las consultas de documentos repetitivas mediante el almacenamiento en caché de consultas memorizadas.

El proyecto cubre la manipulación del DOM para actualizar elementos y atributos, recorrido recursivo del árbol para búsquedas profundas y análisis basado en tokens para transformar el marcado en datos estructurados.

Features

  • HTML and XML Parsing - Converts HTML and XML from URLs, files, or strings into a structured tree with automatic format detection.
  • HTML Tokenization - Converts raw HTML strings into a structured document object model using a token-based parsing process.
  • XML and HTML Document Parsers - Parses HTML and XML content from strings or files into in-memory document trees for programmatic access.
  • HTML Content Sanitization - Filters HTML content using a whitelist to strip unsafe tags and attributes and prevent XSS attacks.
  • CSS Selector Engines - Implements a CSS-style selector engine for querying and filtering HTML and XML document structures.
  • CSS Selector Data Extractors - Extracts precise content from pages by evaluating CSS selectors, tags, IDs, and classes against the DOM.
  • DOM Tree Construction - Transforms token streams into a hierarchical Document Object Model representation for HTML and XML.
  • Element Modifications - Enables dynamic updating of HTML documents by modifying elements, attributes, and text.
  • HTML DOM Manipulators - Offers tools for navigating, filtering, and modifying elements within a parsed HTML document tree.
  • Web Scraping and Extraction - Extracts structured data from websites using CSS selectors and DOM traversal in a Swift environment.
  • Selector Result Caching - Stores parsed selector evaluations to speed up repetitive document queries and reduce processing overhead.
  • Memoization Caches - Provides memoization caches to store expensive selector evaluations and optimize repetitive document lookups.
  • Recursive Tree Traversers - Navigates the document hierarchy using recursive patterns for deep searches and structural modifications.
  • Cross-Platform HTML Processing - Provides a consistent Swift-based library for parsing and managing web content across iOS, macOS, and Linux.
  • HTML Parsing - Parses HTML using DOM, CSS, and jQuery-like selectors.

Historial de estrellas

Gráfico del historial de estrellas de scinfu/swiftsoupGráfico del historial de estrellas de scinfu/swiftsoup

Búsqueda con IA

Explora más repositorios increíbles

Describe lo que necesitas en lenguaje sencillo: la IA clasifica miles de proyectos open-source curados por relevancia.

Start searching with AI

Preguntas frecuentes

¿Qué hace scinfu/swiftsoup?

SwiftSoup es una biblioteca de procesamiento HTML multiplataforma para Swift que convierte cadenas y archivos HTML o XML sin procesar en un modelo de objetos de documento (DOM) estructurado. Proporciona la infraestructura central para analizar contenido web en un árbol navegable, permitiendo el acceso programático a elementos de página en iOS, macOS y Linux.

¿Cuáles son las características principales de scinfu/swiftsoup?

Las características principales de scinfu/swiftsoup son: HTML and XML Parsing, HTML Tokenization, XML and HTML Document Parsers, HTML Content Sanitization, CSS Selector Engines, CSS Selector Data Extractors, DOM Tree Construction, Element Modifications.

¿Qué alternativas de código abierto existen para scinfu/swiftsoup?

Las alternativas de código abierto para scinfu/swiftsoup incluyen: anglesharp/anglesharp — AngleSharp is an HTML5 DOM parser and web scraping framework designed to parse HTML5, SVG, and MathML documents into a… puerkitobio/goquery — goquery is a Go HTML parsing library and CSS selector engine used to isolate and retrieve specific text or attributes… whatwg/html — This repository contains the HTML specification, which defines the core standards for web page structuring, content… inikulin/parse5 — parse5 is a WHATWG HTML parser and serializer for Node.js. It transforms HTML strings into a document object model and… 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…

Alternativas open-source a SwiftSoup

Proyectos open-source similares, clasificados según cuántas características comparten con SwiftSoup.
  • anglesharp/anglesharpAvatar de AngleSharp

    AngleSharp/AngleSharp

    5,499Ver en GitHub↗

    AngleSharp is an HTML5 DOM parser and web scraping framework designed to parse HTML5, SVG, and MathML documents into a W3C compliant document object model. It functions as a programmatic HTML generator and a CSS selector engine for querying and locating specific elements within a DOM. The project provides tools for simulating browser environments to automate web interactions, navigate URLs, and submit forms. It includes a dedicated HTML and CSS minifier to reduce the file size of web assets by removing unnecessary characters. The library supports HTML DOM manipulation and the extraction of s

    C#angle-bracketanglesharpc-sharp
    Ver en GitHub↗5,499
  • puerkitobio/goqueryAvatar de PuerkitoBio

    PuerkitoBio/goquery

    14,958Ver en GitHub↗

    goquery is a Go HTML parsing library and CSS selector engine used to isolate and retrieve specific text or attributes from HTML documents. It functions as an HTML DOM manipulator that converts raw HTML strings into a structured tree for programmatic navigation and search. The library provides a fluent interface for chaining selection and filtering operations and utilizes a wrapper-based abstraction to simplify data extraction and manipulation of nodes. It employs an iterator-based processing mechanism to apply operations to every node within a matched selection. Its primary capabilities cove

    Gogoqueryhtml-parsingjquery
    Ver en GitHub↗14,958
  • whatwg/htmlAvatar de whatwg

    whatwg/html

    9,163Ver en GitHub↗

    This repository contains the HTML specification, which defines the core standards for web page structuring, content organization, and document rendering. It establishes the fundamental algorithms for state-machine-based tokenization, tree construction for the document object model, and origin-based security isolation. The specification provides a framework for defining custom elements with independent lifecycles and registries. It also details the requirements for cross-document communication, session history management, and the synchronization of interface properties with content attributes.

    HTMLcanvaseventsourcehtml
    Ver en GitHub↗9,163
  • inikulin/parse5Avatar de inikulin

    inikulin/parse5

    3,903Ver en GitHub↗

    parse5 is a WHATWG HTML parser and serializer for Node.js. It transforms HTML strings into a document object model and converts those trees back into valid HTML strings, following the logic defined by the HTML Living Standard. The project functions as a streaming HTML processor, using incremental parsing to handle large documents in chunks. It includes an HTML5 compliant tokenizer that uses a state-machine approach to break input into tokens according to official web specifications. The toolset covers HTML document parsing, serialization, and real-time rewriting via streams. These capabiliti

    TypeScript
    Ver en GitHub↗3,903
Ver las 30 alternativas a SwiftSoup→