Skip to content

Instantly share code, notes, and snippets.

@urkh
Created May 26, 2015
Embed
What would you like to do?
user_agent = "Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.118 Safari/537.36"
proxy = {
'network.proxy.type': 1,
'network.proxy.http': ip,
'network.proxy.http_port': port,
'network.proxy.ssl': ip,
'network.proxy.ssl_port': port,
'network.proxy.socks': ip,
'network.proxy.socks_port': port,
'network.proxy.ftp': ip,
'network.proxy.ftp_port': port
}
browser = Browser(user_agent=user_agent, profile_preferences=proxy)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment