Function from_reader

Source
pub fn from_reader<R>(reader: R, url: &Url) -> Result<Document, Error>
where R: BufRead,
Expand description

Parses the HTML stored in the provided reader into a types::Document resolved with the provided URL.