Docs.rs
mlscraper-rust-0.1.2
mlscraper-rust 0.1.2
Permalink
Docs.rs crate page
MIT
Links
Repository
crates.io
Source
Owners
hilbigan
Dependencies
anyhow ^1.0.17
normal
log ^0.4.17
normal
radix_trie ^0.2.1
normal
rand ^0.8.5
normal
rand_chacha ^0.3.1
normal
serde ^1.0
normal
optional
tl ^0.7.7
normal
criterion ^0.4
dev
env_logger ^0.10.0
dev
reqwest ^0.11
dev
serde_json ^1.0
dev
Versions
66.18%
of the crate is documented
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Module util
mlscraper_
rust
0.1.2
Module util
Module Items
Enums
Functions
Type Aliases
In crate mlscraper_
rust
Modules
search
selectors
util
Functions
train
train_with_rng
mlscraper_rust
Module
util
Copy item path
Settings
Help
Summary
Source
Enums
§
Text
Retrieval
Option
Different options for retrieving text from a node. We generate selectors for every node that yields text that matches the expected attribute value.
Functions
§
find_
node_
with_
text
Searches for a node whose inner text matches the given text. NOTE that this also includes the inner text of any child nodes! Both strings are trimmed before comparison.
find_
root
Find root node handle
get_
node_
text
Returns the node’s text value, as specified by the given
TextRetrievalOptions
.
Type Aliases
§
Text
Retrieval
Options