From 9e10b9e28f7fa696769aa776b5baf8847a51f609 Mon Sep 17 00:00:00 2001 From: jyhl Date: Tue, 12 May 2020 13:28:02 +0800 Subject: [PATCH] fix --- selenium_demo.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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):