diff --git a/selenium_demo.py b/selenium_demo.py index 715a7eb..2b1cf8c 100644 --- a/selenium_demo.py +++ b/selenium_demo.py @@ -11,11 +11,11 @@ from selenium.webdriver.support.ui import WebDriverWait class GenCookies(object): USER_AGENT = open('useragents.txt').readlines() - - PROXY_HOST = 'u1.5.tn.16yun.cn' # rotating proxy or host + # 亿牛云代理配置 + PROXY_HOST = 't.16yun.cn' # rotating proxy or host PROXY_PORT = 6441 # port - PROXY_USER = '16ZJZYVL' # username - PROXY_PASS = '123413' # password + PROXY_USER = 'username' # username + PROXY_PASS = 'password' # password @classmethod def get_chromedriver(cls, use_proxy=False, user_agent=None):