stealthscraper-rs 0.4.0

A stealthy web scraping library providing TLS JA4 fingerprint impersonation and headless browser automation.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Per-domain session state: model, the [`StateStore`] port, and adapters.
//!
//! The model ([`DomainState`], [`Outcome`]) and the in-memory adapter are
//! always available. The durable `redb` adapter (`RedbStateStore`) is gated
//! behind the `persistence` feature so the default build pulls no extra
//! dependencies.

mod model;
mod store;

#[cfg(feature = "persistence")]
mod redb_store;

pub use model::{DomainState, Outcome};
pub use store::{InMemoryStateStore, StateStore};

#[cfg(feature = "persistence")]
pub use redb_store::RedbStateStore;