{"id":29922261,"url":"https://github.com/0x676e67/wreq","last_synced_at":"2025-08-02T08:46:25.140Z","repository":{"id":257791759,"uuid":"859886588","full_name":"0x676e67/wreq","owner":"0x676e67","description":"An ergonomic Rust HTTP Client with TLS fingerprint","archived":false,"fork":false,"pushed_at":"2025-08-02T01:38:45.000Z","size":5508,"stargazers_count":397,"open_issues_count":5,"forks_count":54,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-08-02T03:44:30.056Z","etag":null,"topics":["akamai","boringssl","crawler","fingerprint","http","http-client","http2","https","impersonate","ja3","ja4","requests","rust","scraper","tls","tls-client","tls-fingerprint","web-scraper","web-scraping","websocket"],"latest_commit_sha":null,"homepage":"https://docs.rs/wreq","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/0x676e67.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":"0x676e67","tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"lfx_crowdfunding":null,"polar":null,"buy_me_a_coffee":null,"thanks_dev":null,"custom":null}},"created_at":"2024-09-19T13:00:39.000Z","updated_at":"2025-08-01T20:14:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"1541e99b-a67a-419d-9052-272ea3b1e64c","html_url":"https://github.com/0x676e67/wreq","commit_stats":null,"previous_names":["penumbra-x/rqeust","0x676e67/wreq"],"tags_count":100,"template":false,"template_full_name":null,"purl":"pkg:github/0x676e67/wreq","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x676e67%2Fwreq","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x676e67%2Fwreq/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x676e67%2Fwreq/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x676e67%2Fwreq/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0x676e67","download_url":"https://codeload.github.com/0x676e67/wreq/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x676e67%2Fwreq/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268356088,"owners_count":24237380,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-02T02:00:12.353Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["akamai","boringssl","crawler","fingerprint","http","http-client","http2","https","impersonate","ja3","ja4","requests","rust","scraper","tls","tls-client","tls-fingerprint","web-scraper","web-scraping","websocket"],"created_at":"2025-08-02T08:45:56.983Z","updated_at":"2025-08-02T08:46:25.045Z","avatar_url":"https://github.com/0x676e67.png","language":"Rust","readme":"# wreq\n\n[![CI](https://github.com/0x676e67/wreq/actions/workflows/ci.yml/badge.svg)](https://github.com/0x676e67/wreq/actions/workflows/ci.yml)\n[![Crates.io License](https://img.shields.io/crates/l/wreq)](./LICENSE)\n[![crates.io](https://img.shields.io/crates/v/wreq.svg?logo=rust)](https://crates.io/crates/wreq)\n[![Documentation](https://docs.rs/wreq/badge.svg)](https://docs.rs/wreq)\n\n\u003e 🚀 Help me work seamlessly with open source sharing by [sponsoring me on GitHub](https://github.com/0x676e67/0x676e67/blob/main/SPONSOR.md)\n\nAn ergonomic all-in-one HTTP client for browser emulation with TLS, JA3/JA4, and HTTP/2 fingerprints.\n\n## Features\n\n- Plain bodies, JSON, urlencoded, multipart\n- Cookie Store\n- Redirect Policy\n- Original Header\n- Rotating Proxies\n- Certificate Store\n- Tower Middleware\n- WebSocket Upgrade\n- HTTPS via BoringSSL\n- HTTP/2 over TLS Emulation\n\n## Example\n\nThis asynchronous example utilizes [Tokio](https://tokio.rs) with optional features enabled, requiring the following configuration in `Cargo.toml`:\n\n```toml\n[dependencies]\ntokio = { version = \"1\", features = [\"full\"] }\nwreq = \"5\"\nwreq-util = \"2\"\n```\n\nAnd then the code:\n\n```rust,no_run\nuse wreq::Client;\nuse wreq_util::Emulation;\n\n#[tokio::main]\nasync fn main() -\u003e wreq::Result\u003c()\u003e {\n    // Build a client\n    let client = Client::builder()\n        .emulation(Emulation::Firefox136)\n        .build()?;\n\n    // Use the API you're already familiar with\n    let resp = client.get(\"https://tls.peet.ws/api/all\").send().await?;\n    println!(\"{}\", resp.text().await?);\n\n    Ok(())\n}\n```\n\n## Emulation\n\n- **HTTP/2 over TLS**\n\nDue to the complexity of TLS encryption and the widespread adoption of HTTP/2, browser fingerprints such as **JA3**, **JA4**, and **Akamai** cannot be reliably emulated using simple fingerprint strings. Instead of parsing and emulating these string-based fingerprints, `wreq` provides fine-grained control over TLS and HTTP/2 extensions and settings for precise browser behavior emulation.\n\n- **HTTP/3 over QUIC**\n\nHTTP/3 over QUIC is a work in progress. Due to the complexity of QUIC and the evolving ecosystem, full HTTP/3 emulation is not yet available in `wreq`. If you'd like to accelerate development, please consider sponsoring the project. Progress is tracked at [issue #840](https://github.com/0x676e67/wreq/issues/840).\n\n- **Device Emulation**\n\nMost browser device models share identical TLS and HTTP/2 configurations, differing only in the `User-Agent` string. Common browser device emulation templates are maintained in [`wreq-util`](https://github.com/0x676e67/wreq-util), a companion utility crate.\n\n## Building\n\nAvoid compiling with packages that depend on `openssl-sys`, as it shares the same prefix symbol with `boring-sys`, potentially leading to [link failures](https://github.com/cloudflare/boring/issues/197) and other issues. Even if compilation succeeds, using both `openssl-sys` and `boring-sys` together can result in memory segmentation faults. Until the upstream Boring resolves these linking conflicts, using `rustls` is the best workaround.\n\nInstall the dependencies required to build [BoringSSL](https://github.com/google/boringssl/blob/master/BUILDING.md#build-prerequisites)\n\n```shell\nsudo apt-get install build-essential cmake perl pkg-config libclang-dev musl-tools git -y\n\ncargo build --release\n```\n\nThis GitHub Actions [workflow](.github/compilation-guide/build.yml) can be used to compile the project on **Linux**, **Windows**, and **macOS**.\n\n## License\n\nLicensed under either of Apache License, Version 2.0 ([LICENSE](./LICENSE) or http://www.apache.org/licenses/LICENSE-2.0).\n\n## Contribution\n\nUnless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the [Apache-2.0](./LICENSE) license, shall be licensed as above, without any additional terms or conditions.\n\n## Sponsors\n\n\u003ca href=\"https://dashboard.capsolver.com/passport/register?inviteCode=y7CtB_a-3X6d\" target=\"_blank\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/0x676e67/wreq/main/.github/assets/capsolver.jpg\" height=\"47\" width=\"149\"\u003e\u003c/a\u003e\n\n[CapSolver](https://www.capsolver.com/?utm_source=github\u0026utm_medium=banner_repo\u0026utm_campaign=wreq) leverages AI-powered Auto Web Unblock to bypass Captchas effortlessly, providing fast, reliable, and cost-effective data access with seamless integration into Colly, Puppeteer, and Playwright—use code **`RQUEST`** for a 6% bonus!\n\n## Accolades\n\nA hard fork of [reqwest](https://github.com/seanmonstar/reqwest).\n","funding_links":["https://ko-fi.com/0x676e67"],"categories":["Libraries"],"sub_categories":["Web programming"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0x676e67%2Fwreq","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0x676e67%2Fwreq","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0x676e67%2Fwreq/lists"}