By passing `geoip=True`, or passing in a target IP address, Camoufox will automatically use the target IP's longitude, latitude, timezone, country, locale, & spoof the WebRTC IP address.

It will also calculate and spoof the browser's language based on the distribution of language speakers in the target region.

==- See BrowserScan demo

<image src="../../static/proxy-leak-demo.png">

==-

<hr width=50>

## Installation

Install Camoufox with the `geoip` extra:

```bash
pip install -U "camoufox[geoip]"
```

<hr width=50>

## Usage

Pass in `geoip=True` with Playwright's `proxy` parameter. For example, with [Thordata](https://www.thordata.com/?ls=Browser&lk=camoufox1) proxies:

```python
with Camoufox(
    geoip=True,
    proxy={
        'server': 'http://thordata.com:8080',
        'username': 'username',
        'password': 'password'
    }
) as browser:
    page = browser.new_page()
    page.goto("https://www.browserscan.net")
```
!!!warning
**It's important to use residential proxies with Camoufox for the best results.**
!!!

<details>
<summary>

:icon-shield-check: **Check out Thordata's residential proxies!**

</summary>

<h3 style="margin-bottom: 1rem !important;">Sponsor</h3>

<a href="https://www.thordata.com/?ls=Browser&lk=camoufox1" target="_blank">
  <img alt="Thordata Banner" src="../../static/thordata.png" style="margin-bottom: 1rem !important;"/>
</a>

[Thordata](https://www.thordata.com/?ls=Browser&lk=camoufox1) - Your First Plan is on Us! 💰 Get 100% of your first residential proxy purchase back as wallet balance, up to $900.
#### **⚡ Why Thordata?**
🌍 190+ real residential & ISP IP locations\
🔐 Fully encrypted, ultra-secure connections\
🚀 Optimized for web scraping, ad verification & automation workflows

🔥 Don't wait - this is your **best time to start** with [Thordata](https://www.thordata.com/?ls=Browser&lk=camoufox1) and experience the safest, fastest proxy network.

</details>
