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 efficient proxy provider for Web Scrapping and Automation with the Highest Quality IP on the market.
Why NodeMaven?
- 99.9% uptime
- ZIP Targeting
- IP filtering: all proxies have fraud score <97%
- No KYC required
- Unique free tools: Proxy Bandwidth Checker, Meta Tag Checker, IP Lookup and others!
Special codes for Camoufox users:
CAMOUFOX35- 35% off to Mobile and Residential ProxiesCAMOUFOX40- 40% off to ISP (Static) Proxies