Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

核心配置-请求参数配置-请求参数配置-随机UA 功能存在一个小问题? #116

Open
cyxSec opened this issue May 14, 2024 · 0 comments

Comments

@cyxSec
Copy link

cyxSec commented May 14, 2024

image
下面的函数也会初始化httpConn对象的请求头,而header参数里面也包含UA参数,会把上面赋值的随机UA进行覆盖,随机UA也就失败了。

header参数在shell初始化时,存在默认值
image

连接时可以把默认的UA删除掉,当然更好的应该是把随机UA的代码放在初始化header之后

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant