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

[BUG]自动获取Cookie失败:Unable to get key for cookie decryption #762

Open
IHGhog opened this issue Sep 23, 2024 · 7 comments
Open
Labels
故障(bug) 代码问题导致的错误(Bugs caused by code problems)

Comments

@IHGhog
Copy link

IHGhog commented Sep 23, 2024

Snipaste_2024-09-23_23-29-56

Snipaste_2024-09-23_23-45-24

Snipaste_2024-09-23_23-45-38

Chrome浏览器自动获取Cookie失败,这两天重装了系统,环境发生了改变,尝试换过python版本、开代理,还是不能解决;

@IHGhog IHGhog added the 故障(bug) 代码问题导致的错误(Bugs caused by code problems) label Sep 23, 2024
@IHGhog
Copy link
Author

IHGhog commented Sep 24, 2024

我查了下浏览器cookie,发现少了msToken这个key;会不会是这个原因?

@IHGhog
Copy link
Author

IHGhog commented Sep 24, 2024

尝试用TikTokTool.exe,也不行;要是有人解决了 自动获取Cookie失败:Unable to get key for cookie decryption,可以分享下方案,谢谢啦

@IHGhog
Copy link
Author

IHGhog commented Sep 24, 2024

尝试用TikTokTool.exe,也不行;要是有人解决了 自动获取Cookie失败:Unable to get key for cookie decryption,可以分享下方案,谢谢啦

测试结果:Python 3.9.2自己设置了Cookie也不能下载;按照作者推荐3.11.1可以下载;但为了兼容我别的插件我降到3.10.10成功了;但是还是无法使用命令**--auto-cookie**去获取chrome浏览器的cookie;
暂时将就用着,要是有解决方法,望告知,谢谢

@wzr0108
Copy link

wzr0108 commented Oct 31, 2024

我用了python3.11,edge和chrome都试过了,还是不行

@wzr0108
Copy link

wzr0108 commented Oct 31, 2024

image
image

@JoeanAmier
Copy link

Chrome 更新了加密 Cookie 的方式

@1952953410
Copy link

尝试用TikTokTool.exe,也不行;要是有人解决了 自动获取Cookie失败:Unable to get key for cookie decryption,可以分享下方案,谢谢啦

测试结果:Python 3.9.2自己设置了Cookie也不能下载;按照作者推荐3.11.1可以下载;但为了兼容我别的插件我降到3.10.10成功了;但是还是无法使用命令**--auto-cookie**去获取chrome浏览器的cookie; 暂时将就用着,要是有解决方法,望告知,谢谢

兄弟你好
如何自己获取cookie 我的也崩了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
故障(bug) 代码问题导致的错误(Bugs caused by code problems)
Projects
None yet
Development

No branches or pull requests

4 participants