A library for making HTTP requests through browser impersonation
Actively maintained. Last release 3 weeks ago, commits in 24 of the last 26 weeks. A safe choice.
pip install impitimpit for Python
This documents the
impitPython package, which provides bindings for theimpitlibrary.See documentation for the JavaScript/TypeScript version of
impithere.
impit is a Python package that provides bindings for the impit library.
It allows you to switch the TLS fingerprints and the HTTP headers of your requests, while still using the same API as httpx or requests.
Installation
impit is published on PyPI and conda-forge.
-
From PyPI, it can be installed with pip:
pip install impit -
From conda-forge, it can be installed with conda:
conda install conda-forge::impit
Compatibility
| Operating System | Architecture | libc implementation | Prebuilt wheels available on PyPI |
|---|---|---|---|
| Linux | x86_64 | glibc | ✅ |
| Linux | x86_64 | musl | ✅ |
| macOS | x86_64 | N/A | ✅ |
| Windows | x86_64 | N/A | ✅ |
| macOS | arm64 | N/A | ✅ |
| Windows | arm64 | N/A | ✅ |
| Linux | arm64 | musl | ✅ |
| Linux | arm64 | glibc | ❌* |
*The prebuilt binaries for Linux on arm64 with are WIP and not available as prebuilt wheels on PyPI yet. You can build the package from sources in this repository.