GeoIP & Proxy Support
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.
Installation
Install Camoufox with the geoip extra:
pip install -U "camoufox[geoip]"
Usage
Pass in geoip=True with Playwright's proxy parameter. For example, with NodeMaven proxies:
with Camoufox(
geoip=True,
proxy={
'server': 'http://gate.nodemaven.com:8080',
'username': 'username',
'password': 'password'
}
) as browser:
page = browser.new_page()
page.goto("https://www.browserscan.net")
It's important to use residential proxies with Camoufox for the best results.
NodeMaven: The most reliable proxy provider with the Highest Quality IP on the market.
Best solution for automation, web scraping, SEO research, and social media management.
NodeMaven offers:
- Sticky sessions up to 7 days
- 99.9% uptime
- IP filtering: all proxies have fraud score <97%
- No KYC required
- Cashback on traffic - burn GB and earn up to 10% back
Special offer: Use code CAMOUFOX35 to get 35% discount on Proxies.