Created
May 26, 2015 14:00
-
-
Save urkh/1a3651e1f0b3ce03adb6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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