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

使用Selenium获取Cookie后,使用requests进行登录百度云时,提示csrftoken校验错误,可能是跨站点攻击,有什么好的解决办法嘛? #21

Open
wangzhe0912 opened this issue Aug 25, 2018 · 1 comment

Comments

@wangzhe0912
Copy link

No description provided.

@ResolveWang
Copy link
Member

你手动登录百度云,然后用类似editthiscookie的插件看看cookie有哪些值,然后和你通过selenium得到的值对比一下,看看有不有缺。

也可以把你手动登录后的cookie带入requests去看看是不是还要提示csrftoken校验错误

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

2 participants