from selenium import webdriver | |
# other imports here | |
PROXY = "127.63.13.19:3184" #HOST:PORT or IP:PORT | |
chrome_options = webdriver.ChromeOptions() | |
chrome_options.add_argument('--proxy-server=%s' % PROXY) | |
chrome = webdriver.Chrome(options=chrome_options) | |
chrome.get("https://www.reddit.com/") | |
# more code here |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment