Registry / utility / select

select

JSON →
library0.6.1rscratesunverified

A library to extract useful data from HTML documents, suitable for web scraping.

# Cargo.toml [dependencies] select = "0.6.1"
INSTALL
IMPORT
SIG · SELECT
S
select
utilityrustv0.6.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Document
use select::document::Document;

Parses HTML and extracts text from all <h1> elements.

use select::document::Document; use select::predicate::Name; let html = "<html><body><h1>Hello</h1></body></html>"; let doc = Document::from(html); for node in doc.find(Name("h1")) { println!("{}", node.text()); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.6.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
select — cargo add select · libregistry