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
| from selenium import webdriver | |
| profile = webdriver.FirefoxProfile() | |
| # Set proxy settings to manual | |
| profile.set_preference('network.proxy.type', 1) | |
| # Set proxy to Tor client on localhost | |
| profile.set_preference('network.proxy.socks', '127.0.0.1') | |
| profile.set_preference('network.proxy.socks_port', 9050) | |
| # Disable all images from loading, speeds page loading | |
| # http://kb.mozillazine.org/Permissions.default.image |
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
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <title>WebSocket Client</title> | |
| <style> | |
| #output { | |
| border: solid 1px #000; | |
| } | |
| </style> | |
| </head> |
NewerOlder