1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
//! # VIL Web Crawler (I01)
//!
//! Async concurrent web crawler with BFS traversal, robots.txt support,
//! domain filtering, and depth limiting.
//!
//! ## Quick Start
//!
//! ```rust,no_run
//! use vil_crawler::{Crawler, CrawlConfig};
//!
//! # async fn example() {
//! let config = CrawlConfig::new()
//! .max_pages(10)
//! .max_depth(2)
//! .concurrency(4);
//!
//! let crawler = Crawler::new(config);
//! let results = crawler.crawl_site("https://example.com").await;
//! for r in &results {
//! println!("{} — {} chars", r.url, r.text.len());
//! }
//! # }
//! ```
pub use CrawlConfig;
pub use ;
pub use CrawlerPlugin;
pub use CrawlResult;
pub use RobotsChecker;
pub use ;