Scraper

screenshot of Scraper

HTML parsing and querying with CSS selectors

Overview:

"Scraper" is a tool available on Crates.io and GitHub that offers HTML parsing and querying capabilities using CSS selectors. It provides access to Servo's html5ever and selectors crates, enabling sophisticated browser-grade parsing and querying functionalities. Users can perform various tasks such as parsing documents, selecting elements, manipulating the DOM, and more.

Features:

  • HTML Parsing: Capable of parsing entire documents or fragments.
  • CSS Selector Querying: Efficiently query elements using CSS selectors.
  • Element Selection: Easily select and access specific elements.
  • Attribute Access: Retrieve and manipulate element attributes.
  • HTML Serialization: Ability to serialize HTML and inner HTML content.
  • Text Extraction: Access and manipulate descendant text within elements.
  • DOM Manipulation: Perform various operations to manipulate the Document Object Model.

Summary: