|
@@ -22,7 +22,7 @@ def init_browser(proxy1='proxy1',tiny1='tiny1',socks5="9050",debug='9922',cdrive
|
|
|
os.system('docker container restart '+proxy1)
|
|
|
os.system('docker container restart '+tiny1)
|
|
|
|
|
|
- time.sleep(10)
|
|
|
+ time.sleep(11)
|
|
|
options = webdriver.ChromeOptions()
|
|
|
options.add_argument('--headless')
|
|
|
options.add_argument('--proxy-server=socks5://127.0.0.1:'+socks5)
|
|
@@ -110,7 +110,7 @@ class JParams(object):
|
|
|
time.sleep(1)
|
|
|
video.click() #mouse click
|
|
|
|
|
|
- time.sleep(31)
|
|
|
+ time.sleep(35)
|
|
|
driver.quit()
|
|
|
sys.exit()
|
|
|
|