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

Entdecke die besten Open-Source-Repositories mit KI-gestützter Suche.

EntdeckenKuratierte SuchenOpen-Source-AlternativenSelf-hosted SoftwareBlogSitemap
ProjektÜber unsRanking-MethodikPresseMCP-Server
RechtlichesDatenschutzAGB
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
ericchiang avatar

ericchiang/pup

0
View on GitHub↗
8,427 Stars·264 Forks·HTML·MIT·4 Aufrufe

Pup

Pup is a command line tool for extracting and filtering data from HTML documents using CSS selectors. It functions as a parser and selector engine that isolates specific elements based on tags, IDs, classes, and attributes.

The project provides utilities for converting selected HTML nodes into plain text, attribute values, or structured JSON objects. It includes a markup formatter that corrects missing tags and applies consistent indentation to improve the readability of HTML documents.

The tool handles the retrieval of text content and attributes through a CSS selector engine, supporting complex tags and combinators. It also manages character encoding through automatic detection or specified charsets to ensure correct text rendering during the extraction process.

Features

  • CLI Data Extractors - Provides a command line interface for extracting specific elements from HTML using CSS selectors.
  • CSS Selector Engines - Implements a CSS-style selector engine for isolating specific HTML elements based on tags, IDs, classes, and attributes.
  • CSS Selector-Based Element Isolation - Supports complex CSS selectors and combinators to precisely isolate specific HTML elements.
  • HTML Parsing - Provides a parser that constructs a DOM by automatically correcting malformed HTML markup.
  • Selector-Based Element Isolation - Filters HTML documents to find specific elements based on tags, IDs, classes, and attributes.
  • Command Line HTML Parsers - Provides a terminal-based tool for extracting specific data from HTML via CSS selectors.
  • HTML Parsing Command Line Tools - Ships a command line interface for retrieving and filtering specific elements from HTML documents.
  • CSS Selector Data Extractors - Uses precise CSS selectors to filter and collect specific elements from HTML documents.
  • DOM Element Filtering - Implements a CSS selector engine to isolate specific HTML elements within a document.
  • PDF and HTML Content Extraction - Extracts all text content from selected HTML nodes and their children.
  • Web Scraping - Provides utilities for extracting structured data from websites and online sources using CSS selectors.
  • HTML to Text JSON Converters - Converts selected HTML nodes into plain text, attribute values, or structured objects.
  • HTML Formatters - Includes a markup formatter that corrects missing tags and applies consistent indentation to improve HTML readability.
  • HTML Formatting - Controls the visual presentation of HTML data through indentation and colorization.
  • Noise Reduction Filtering - Isolates specific HTML nodes based on tags and classes to filter out noise from webpages.
  • DOM to JSON Serialization - Transforms selected HTML elements into machine-readable JSON objects for interoperability.
  • Markup Cleaning - Includes a utility to fix missing tags and apply consistent indentation to HTML documents.
  • HTML Data Attribute Extraction - Retrieves the values of specific attribute keys from all selected HTML nodes.
  • Terminal Text Formatting - Applies indentation and character escaping to make HTML output readable in a terminal.
  • HTML and XML Processing - Query HTML pages with CSS selectors.

Star-Verlauf

Star-Verlauf für ericchiang/pupStar-Verlauf für ericchiang/pup

KI-Suche

Entdecke weitere awesome Repositories

Beschreibe in einfachen Worten, was du brauchst — die KI bewertet tausende kuratierte Open-Source-Projekte nach Relevanz.

Start searching with AI

Häufig gestellte Fragen

Was macht ericchiang/pup?

Pup is a command line tool for extracting and filtering data from HTML documents using CSS selectors. It functions as a parser and selector engine that isolates specific elements based on tags, IDs, classes, and attributes.

Was sind die Hauptfunktionen von ericchiang/pup?

Die Hauptfunktionen von ericchiang/pup sind: CLI Data Extractors, CSS Selector Engines, CSS Selector-Based Element Isolation, HTML Parsing, Selector-Based Element Isolation, Command Line HTML Parsers, HTML Parsing Command Line Tools, CSS Selector Data Extractors.

Welche Open-Source-Alternativen gibt es zu ericchiang/pup?

Open-Source-Alternativen zu ericchiang/pup sind unter anderem: mgdm/htmlq — htmlq is a suite of command-line utilities for querying and extracting data from HTML documents using CSS selectors.… scinfu/swiftsoup — SwiftSoup is a cross-platform HTML processing library for Swift that converts raw HTML or XML strings and files into a… jquery/sizzle — A sizzlin' hot selector engine. psf/requests-html — requests-html is a Python HTML parsing library and web scraping framework. It functions as an asynchronous HTTP client… 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…

Open-Source-Alternativen zu Pup

Ähnliche Open-Source-Projekte, sortiert nach der Anzahl der gemeinsamen Funktionen mit Pup.
  • mgdm/htmlqAvatar von mgdm

    mgdm/htmlq

    7,552Auf GitHub ansehen↗

    htmlq is a suite of command-line utilities for querying and extracting data from HTML documents using CSS selectors. It functions as a query language tool for HTML structures and attributes, providing a way to retrieve specific information from documents via the terminal. The tool provides capabilities for extracting text content, specific HTML attributes, and document fragments. It includes an HTML document formatter for cleaning and reformatting output with consistent indentation, as well as utilities for stripping tags to isolate plain text. The software handles structural HTML processing

    Rust
    Auf GitHub ansehen↗7,552
  • scinfu/swiftsoupAvatar von scinfu

    scinfu/SwiftSoup

    5,087Auf GitHub ansehen↗

    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

    Swift
    Auf GitHub ansehen↗5,087
  • jquery/sizzleAvatar von jquery

    jquery/sizzle

    6,306Auf GitHub ansehen↗

    A sizzlin' hot selector engine.

    JavaScript
    Auf GitHub ansehen↗6,306
  • cheeriojs/cheerioAvatar von cheeriojs

    cheeriojs/cheerio

    30,386Auf GitHub ansehen↗

    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

    TypeScriptcheeriodomhacktoberfest
    Auf GitHub ansehen↗30,386
Alle 30 Alternativen zu Pup anzeigen→