修复聊天状态同步与验证码验证链路
This commit is contained in:
1 parent
3fdace9492
commit
55904cc409
38 files changed
+884
-139
No files matched your search
@@ -221,6 +221,9 @@ func fallbackChromiumArgs(profileDir string, headless bool, headlessUserAgent ..
|
||||
if captchaIgnoreCertificateErrors() {
|
||||
args = append(args, "--ignore-certificate-errors")
|
||||
}
|
||||
if proxy := captchaBrowserProxy(); proxy != "" {
|
||||
args = append(args, "--proxy-server="+proxy)
|
||||
}
|
||||
if headless && len(headlessUserAgent) > 0 && headlessUserAgent[0] != nil {
|
||||
if userAgent := normalizeHeadlessUserAgent(*headlessUserAgent[0]); userAgent != "" {
|
||||
args = append(args, "--user-agent="+userAgent)
|
||||
|
||||
Reference in new issue
Block a user