We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
我使用 https://www.kaggle.com/ 做测试,其中,这个网站登陆后,会在 cookie 中,写入
__Host-KAGGLEID=CfDJ8L3o_FPsMQlKvPRAcaVvXWP6NNxxxx
这样的 cookie 值,从而验证用户是否登录,但是,我在 配置 无痕后,无法写入,不配置则正常,但是需要先访问 url 一次,再写入,再访问,这样的操作流程
The text was updated successfully, but these errors were encountered:
只能写入当前页面url所在域名对应的cookie,当你没有打开这个网页的时候,默认是空白页,即使你写成功,也是空白页的cookie,不是你要访问的域名的cookie
Sorry, something went wrong.
是不是这样理解,因为 __Host- 前缀 cookie 的规则要求,写入时,是没有 domain 属性的,在 空页面 写入前缀 __Host- 的 cookie 时,即使入参 cookie 配置 domain ,如: cookies = "domain=www.kaggle.com; __Host-KAGGLEID=CfDJ8L3o_FPsMQlKvPRAcaVvXWP6NNkGHr" ,实际在写入时,__Host- 这个key,因为无法指定 domain ,所以必须要先访问一次目标页面,然后在这个页面 tab 下配置前缀 __Host- 参考:https://developer.mozilla.org/zh-CN/docs/Web/HTTP/Cookies#__host-
cookies = "domain=www.kaggle.com; __Host-KAGGLEID=CfDJ8L3o_FPsMQlKvPRAcaVvXWP6NNkGHr"
No branches or pull requests
我使用 https://www.kaggle.com/ 做测试,其中,这个网站登陆后,会在 cookie 中,写入
__Host-KAGGLEID=CfDJ8L3o_FPsMQlKvPRAcaVvXWP6NNxxxx
这样的 cookie 值,从而验证用户是否登录,但是,我在 配置 无痕后,无法写入,不配置则正常,但是需要先访问 url 一次,再写入,再访问,这样的操作流程
The text was updated successfully, but these errors were encountered: