Last active
January 12, 2021 14:40
-
-
Save saasindustries/9f966310cb8a59803dd822afd22bf1ba to your computer and use it in GitHub Desktop.
This file contains 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 | |
# 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