Evil0ctal / Douyin_TikTok_Download_API

🚀「Douyin_TikTok_Download_API」是一个开箱即用的高性能异步抖音、快手、TikTok、Bilibili数据爬取工具,支持API调用,在线批量解析及下载。
https://douyin.wtf
Apache License 2.0
8.82k stars 1.38k forks source link

[BUG] 0612接口 #425

Closed mouzhi closed 3 months ago

mouzhi commented 3 months ago

发生错误的平台?

如:抖音/TikTok

发生错误的端点?

如:API-V1/API-V2/Web APP

提交的输入值?

如:

https://www.douyin.com/video/7379274800155479307

是否有再次尝试?

如:是,发生错误后2小时后错误依旧存在。

你有查看本项目的自述文件或接口文档吗?

如:有,猜测问题是抖音接口改了或者挂了,Cookies更新了多个,并且在多台机器上测试均无效,21日下午还正常(15点左右),21日17:30开始就不行了

Vetches commented 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?

Evil0ctal commented 3 months ago

请使用V4.0.2版本。