camoufox-0.4.9
توضیحات
Wrapper around Playwright to help launch Camoufox
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | camoufox-0.4.9 |
| نام | camoufox |
| نسخه کتابخانه | 0.4.9 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | daijro |
| ایمیل نویسنده | daijro.dev@gmail.com |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/camoufox/ |
| مجوز | MIT |
<div align="center">
# Camoufox Python Interface
#### Lightweight wrapper around the Playwright API to help launch Camoufox.
</div>
> [!NOTE]
> All the the latest documentation is avaliable [here](https://camoufox.com/python).
---
## What is this?
This Python library wraps around Playwright's API to help automatically generate & inject unique device characteristics (OS, CPU info, navigator, fonts, headers, screen dimensions, viewport size, WebGL, addons, etc.) into Camoufox.
It uses [BrowserForge](https://github.com/daijro/browserforge) under the hood to generate fingerprints that mimic the statistical distribution of device characteristics in real-world traffic.
In addition, it will also calculate your target geolocation, timezone, and locale to avoid proxy protection ([see demo](https://i.imgur.com/UhSHfaV.png)).
---
## Installation
First, install the `camoufox` package:
```bash
pip install -U camoufox[geoip]
```
The `geoip` parameter is optional, but heavily recommended if you are using proxies. It will download an extra dataset to determine the user's longitude, latitude, timezone, country, & locale.
Next, download the Camoufox browser:
**Windows**
```bash
camoufox fetch
```
**MacOS & Linux**
```bash
python3 -m camoufox fetch
```
To uninstall, run `camoufox remove`.
<details>
<summary>CLI options</summary>
```
Usage: python -m camoufox [OPTIONS] COMMAND [ARGS]...
Options:
--help Show this message and exit.
Commands:
fetch Fetch the latest version of Camoufox
path Display the path to the Camoufox executable
remove Remove all downloaded files
server Launch a Playwright server
test Open the Playwright inspector
version Display the current version
```
</details>
<hr width=50>
## Usage
All of the latest documentation is avaliable at [camoufox.com/python](https://camoufox.com/python).
نیازمندی
| مقدار | نام |
|---|---|
| - | browserforge<2.0.0,>=1.2.1 |
| - | click |
| xtr | geoip2; |
| - | language-tags |
| - | lxml |
| - | numpy |
| - | orjson |
| - | platformdirs |
| - | playwright |
| - | pysocks |
| - | pyyaml |
| - | requests |
| - | screeninfo |
| - | tqdm |
| - | typing_extensions |
| - | ua_parser |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| <4.0,>=3.8 | Python |
نحوه نصب
نصب پکیج whl camoufox-0.4.9:
pip install camoufox-0.4.9.whl
نصب پکیج tar.gz camoufox-0.4.9:
pip install camoufox-0.4.9.tar.gz