TODO: streamerlist

This commit is contained in:
eson
2020-09-11 18:52:04 +08:00
parent c4d0140b42
commit ef7b59ce3d
5 changed files with 87 additions and 47 deletions

View File

@@ -28,10 +28,10 @@ type LiveInfo struct {
}
func Execute() {
wd := intimate.GetChromeDriver()
adriver := intimate.GetChromeDriver()
count := 0
countlimit := 200
wd := adriver.Webdriver
waitfor := intimate.NewWaitFor(wd)
ps := intimate.NewPerfectShutdown()
@@ -118,9 +118,8 @@ func Execute() {
count++
if count >= countlimit {
count = 0
wd.Close()
wd.Quit()
wd = intimate.GetChromeDriver()
adriver.Close()
adriver = intimate.GetChromeDriver()
}
}
}