Closed mouzhi closed 3 months ago
I'm seeing this issue as well. It was working less than 24 hours ago but now throws a 400 API error when I try and locally deploy with uvicorn
.
I'm setting cookies on my locally ran instance of uvicorn by simply extracting the cookies from my logged in browser (via browser_cookie3
and combining the result into a string to set on the yaml file), which used to work, but now no longer seems to. For some time now, when I ran the server, it showed this error:
程序出现异常,请检查错误信息。
ERROR msToken API错误:msToken 内容不符合要求
INFO 生成虚假的msToken
程序出现异常,请检查错误信息。
ERROR msToken API错误:msToken 内容不符合要求
INFO 生成虚假的msToken
This error was present for weeks but the API calls still resolved if I tried multiple times, but now they never resolve.
From checking the repo's cookies against mine, it looks like the repo's msToken
is much, much longer than the one I extract from my browser. And this error isn't thrown when I run the local server with the example cookies and msToken
, but it still throws a 400 API error when I try and make a Douyin request. I've tried checking both https://api.douyin.wtf/ and https://douyin.wtf/, but neither work, unfortunately.
Is it possible to check if there are any changes that caused this with Douyin that could be addressed to fix this, or if I have to set up cookies another way?
请使用V4.0.2版本。
发生错误的平台?
如:抖音/TikTok
发生错误的端点?
如:API-V1/API-V2/Web APP
提交的输入值?
如:
https://www.douyin.com/video/7379274800155479307
是否有再次尝试?
如:是,发生错误后2小时后错误依旧存在。
你有查看本项目的自述文件或接口文档吗?
如:有,猜测问题是抖音接口改了或者挂了,Cookies更新了多个,并且在多台机器上测试均无效,21日下午还正常(15点左右),21日17:30开始就不行了