Matthew Ransley bb34f72c2f
Some checks failed
CI / CI is green (push) Has been cancelled
CI / Check Style (push) Has been cancelled
CI / feat.: blocking (push) Has been cancelled
CI / windows / stable-i686-gnu (push) Has been cancelled
CI / windows / stable-i686-msvc (push) Has been cancelled
CI / windows / stable-x86_64-gnu (push) Has been cancelled
CI / windows / stable-x86_64-msvc (push) Has been cancelled
CI / feat.: brotli (push) Has been cancelled
CI / feat.: cookies (push) Has been cancelled
CI / feat.: deflate (push) Has been cancelled
CI / feat.: gzip (push) Has been cancelled
CI / feat.: json (push) Has been cancelled
CI / feat.: multipart (push) Has been cancelled
CI / feat.: native-tls (push) Has been cancelled
CI / feat.: default-tls and rustls-tls (push) Has been cancelled
CI / feat.: socks/default-tls (push) Has been cancelled
CI / feat.: socks/rustls-tls (push) Has been cancelled
CI / feat.: stream (push) Has been cancelled
CI / feat.: trust-dns (push) Has been cancelled
CI / feat.: rustls-tls (push) Has been cancelled
CI / feat.: rustls-tls-manual-roots (push) Has been cancelled
CI / feat.: default-tls disabled (push) Has been cancelled
CI / linux / beta (push) Has been cancelled
CI / linux / stable (push) Has been cancelled
CI / macOS / stable (push) Has been cancelled
CI / Docs (push) Has been cancelled
CI / linux / nightly (push) Has been cancelled
CI / MSRV 1.57.0 (push) Has been cancelled
CI / Android (push) Has been cancelled
CI / WASM (push) Has been cancelled
Chrome 129
Signed-off-by: Matthew Ransley <matthewransley5@gmail.com>
2024-10-24 19:35:59 +01:00
2022-12-20 11:29:32 -05:00
2023-01-05 02:25:20 +01:00
2024-10-24 19:35:59 +01:00
2023-07-05 14:17:53 +01:00
2023-01-05 01:40:32 +01:00
2023-01-05 01:40:32 +01:00
2023-01-05 01:40:32 +01:00
2023-01-05 01:40:32 +01:00
2022-11-16 10:44:55 -05:00
2023-01-05 01:40:32 +01:00
2023-01-05 02:25:20 +01:00
2016-12-13 15:47:28 -08:00
2023-07-04 20:12:52 +01:00

reqwest-impersonate

A fork of reqwest-impersonate, designed to provide more functionality and stability

Notice: This crate depends on patched dependencies. To use it, please add the following to your Cargo.toml.

[patch.crates-io]
hyper = { git = "https://github.com/4JX/hyper.git", branch = "v0.14.18-patched" }
h2 = { git = "https://github.com/4JX/h2.git", branch = "imp" }

Example

Cargo.toml

reqwest-impersonate = { git = "https://github.com/epicmatthew23/reqwest-impersonate.git", default-features = false, features = [
    "chrome",
    "blocking",
] }

main.rs

use reqwest_impersonate::browser::ChromeVersion;

fn main() {
    // Build a client to mimic Chrome 114
    let client = reqwest_impersonate::blocking::Client::builder()
        .chrome_builder(ChromeVersion::V114)
        .build()
        .unwrap();

    // Use the API you're already familiar with
    match client.get("https://yoururl.com").send() {
        Ok(res) => {
            println!("{:?}", res.text().unwrap());
        }
        Err(err) => {
            dbg!(err);
        }
    };
}
Description
No description provided
Readme 2 MiB
Languages
Rust 99.6%
Nix 0.4%