spider-core
Core crawling engine for spider-lib: spider trait, crawler runtime, scheduler, builder, state, and stats.
Most users should start with spider-lib. Use spider-core directly when you want lower-level control over runtime composition.
Installation
[]
= "1.0.4"
Main Components
Spider: trait for crawl logic.Crawler: runtime engine that drives requests and parsing.CrawlerBuilder: runtime configuration and composition.Scheduler: request queueing and dedup behavior.CrawlerState: shared runtime state.StatCollector: runtime statistics.
Minimal Usage
use ;
use ;
;
;
Feature Flags
core(default)live-stats: enables in-place terminal stat updates.checkpoint: enables checkpoint/resume support.cookie-store: enablescookie_storeintegration.
[]
= { = "1.0.4", = ["checkpoint"] }
Related Crates
License
MIT. See LICENSE.