Crate sws_scraper

Source
Expand description

HTML parsing and querying with CSS selectors.

Partial port of scraper using sws-tree which uses Rc instead of references with lifetimes.

Re-exports§

pub use crate::element_ref::ElementRef;
pub use crate::html::Html;
pub use crate::node::Node;
pub use crate::selector::Selector;

Modules§

element_ref
Element references.
error
Custom error types for diagnostics Includes re-exported error types from dependencies
html
HTML documents and fragments.
node
HTML nodes.
selector
CSS selectors.

Enums§

CaseSensitivity

Traits§

Element

Type Aliases§

StrTendril
Tendril for storing native Rust strings.