rquest
An intuitive and robust Rust HTTP/WebSocket Client featuring TLS/JA3/JA4/HTTP2 fingerprint impersonate
- Impersonate Chrome / Safari / Edge / OkHttp
- Plain bodies, JSON, urlencoded, multipart
- Customizable redirect policy
HTTP/HTTPS/Socks5ProxiesHTTPS/WebSocketvia BoringSSL- Cookie Store
- Changelog
Example
This asynchronous example uses Tokio and enables some
optional features, so your Cargo.toml could look like this:
[]
= { = "1", = ["full"] }
= "0.11"
Or WebSocket:
[]
= { = "1", = ["full"] }
= { = "0.11", = ["websocket"] }
And then the code:
use Error;
use rquest;
use Impersonate;
async
And then the websocket code:
use rquest;
use Error;
use Message;
use ;
use ;
async
Contributing
If you would like to submit your contribution, please open a Pull Request.
Getting help
Your question might already be answered on the issues
License
- MIT license (LICENSE or http://opensource.org/licenses/MIT)
Sponsors
Capsolver.com is an AI-powered service that specializes in solving various types of captchas automatically. It supports captchas such as reCAPTCHA V2, reCAPTCHA V3, hCaptcha, FunCaptcha, DataDome, AWS Captcha, Geetest, and Cloudflare Captcha / Challenge 5s, Imperva / Incapsula, among others.
For developers, Capsolver offers API integration options detailed in their documentation, facilitating the integration of captcha solving into applications. They also provide browser extensions for Chrome and Firefox, making it easy to use their service directly within a browser. Different pricing packages are available to accommodate varying needs, ensuring flexibility for users.