Overview
The Narada Python SDK allows you to route all browser traffic through a proxy server. This is useful for scenarios such as:Privacy & Anonymity
Mask your IP address and browse anonymously through proxy servers.
Geo-Restrictions
Access region-locked content by routing traffic through proxies in different locations.
Corporate Networks
Work within enterprise environments that require proxy authentication.
Prerequisites
Make sure you have completed the Getting Started with the SDK guide before configuring proxy settings.
Configuration Reference
TheProxyConfig class provides all the options you need to configure proxy settings:
server (required)
server (required)
The proxy server URL. Supports HTTP, HTTPS, and SOCKS5 protocols.Formats:
- HTTP proxy:
http://proxy.example.com:8080 - HTTPS proxy:
https://proxy.example.com:8080 - SOCKS5 proxy:
socks5://proxy.example.com:1080
username
username
Optional username for proxy authentication. Must be provided together with
password.password
password
Optional password for proxy authentication. Must be provided together with
username.bypass
bypass
Optional comma-separated list of domains that should bypass the proxy.
ignore_cert_errors
ignore_cert_errors
Set to
True to ignore SSL certificate errors. Required for proxies that perform HTTPS inspection (MITM).Only enable this option if you trust your proxy server completely. Disabling certificate verification exposes your traffic to potential interception.
Quick Start
1
Import the Required Classes
Import
ProxyConfig and BrowserConfig from the Narada SDK:2
Create a Proxy Configuration
Define your proxy settings using
ProxyConfig:3
Apply Proxy to Browser Configuration
Pass the proxy configuration to
BrowserConfig:4
Launch Browser with Proxy
Use the configuration when opening a browser window:
Your browser window is now configured to route all traffic through the proxy server.
Troubleshooting
SSL certificate errors
SSL certificate errors
If you’re seeing SSL/TLS certificate errors:
- Corporate proxy - Your proxy may be performing HTTPS inspection (MITM)
- Enable ignore_cert_errors - Set
ignore_cert_errors=Trueif you trust the proxy - Install CA certificate - Alternatively, install your organization’s CA certificate