Skip to content

Instantly share code, notes, and snippets.

@saasindustries
Last active January 12, 2021 14:40
Show Gist options
  • Save saasindustries/9f966310cb8a59803dd822afd22bf1ba to your computer and use it in GitHub Desktop.
Save saasindustries/9f966310cb8a59803dd822afd22bf1ba to your computer and use it in GitHub Desktop.
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