v2.48.2

hongfz16/EVA3Dv2.48.2Mar 25, 2026by github-actions[bot]

AI Summary

Introduces parallel crawling capabilities to race multiple browser engines and select the best result.

Key Highlights

  • Race alternative browser engines (LightPanda, Servo) alongside the primary crawl.
  • Configurable `ParallelBackendsConfig` with custom quality validators.
  • Zero overhead when disabled and full network interception parity with Chrome.

New Features

  • Parallel backends support
  • Custom backend endpoints
  • Quality validators for crawl selection

Full Release Notes

Race alternative browser engines alongside your primary crawl. Best HTML wins.

```rust
use spider::configuration::{BackendEndpoint, BackendEngine, ParallelBackendsConfig};

let mut website = Website::new("https://example.com");
website.configuration.parallel_backends = Some(ParallelBackendsConfig {
    backends: vec![BackendEndpoint {
        engine: BackendEngine::LightPanda,
        endpoint: Some("ws://127.0.0.1:9222".to_string()),
        binary_path: None,
        protocol: None,
    }],
    ..Default::default()
});
website.crawl().await;
// page.backend_source → "primary" | "lightpanda" | "servo" | "custom"
```

Features: `lightpanda`, `servo`, `parallel_backends_full`, custom backends via `BackendEngine::Custom`.

Zero overhead when disabled, anti-fingerprint jitter, auto-disable on failures, custom quality validator, full network interception parity with Chrome.