drission 0.1.0

Rust 浏览器自动化库:反检测(Camoufox/Firefox)+ 内置验证码 OCR 与图片滑块缺口距离识别 + 高并发爬虫 / XHR 监听拦截 / 自动过盾,DrissionPage 风格 API。Browser automation in Rust with anti-detect, built-in captcha OCR and slider-gap solving, async high-concurrency crawling.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Juggler 协议层。
//!
//! - [`message`]:线消息类型(请求 / 响应 / 事件)。
//! - [`connection`]:基于 fd3/4 传输的连接,负责请求/响应配对与事件分发。
//!
//! 会话路由(root 无 `sessionId`;page 带 UUID)直接通过 [`connection::Connection::send`]
//! 的 `session_id` 参数携带,由各 `Tab` 持有自身 `sessionId`,无需独立的 session 模块。

pub mod connection;
pub mod message;

pub use connection::{Connection, Event, DEFAULT_TIMEOUT};
pub use message::{
    BROWSER_CLOSE_MESSAGE_ID, IncomingMessage, MessageKind, OutgoingMessage, ProtocolErrorBody,
};