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

[功能异常] 在下载tiktok直播时,报这个问题响应内容不是有效的 JSON 数据,请尝试更新 Cookie! #422

Open
lfhuhu opened this issue Mar 7, 2025 · 3 comments
Assignees

Comments

@lfhuhu
Copy link

lfhuhu commented Mar 7, 2025

都已经重新加载device_id和Cookie了,也不能拉去tiktok的直播,但是可以拉视频。大佬知道这是什么原因么?
Image

Copy link

dosubot bot commented Mar 7, 2025

@lfhuhu 你好!我是Dosu,我是一个可以帮助你解决错误、回答问题,并成为贡献者的机器人。我在这里可以帮助你,等待人类维护者的到来。

The issue you're encountering with the error "响应内容不是有效的 JSON 数据" (response content is not valid JSON data) when trying to download a TikTok live stream, despite being able to download videos, is likely related to the type of cookie being used. According to the TikTokDownloader documentation, while a logged-in cookie may work for downloading individual videos, account scraping (which may include live streams) requires a non-logged-in (anonymous) cookie. Using a logged-in cookie can sometimes fail to retrieve account post data, which might be causing the JSON data error you are encountering. Additionally, consider building and using the latest version of the executable from the source code for potential fixes [1].

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other

@JoeanAmier
Copy link
Owner

Image

尝试使用登录的 Cookie。

@lfhuhu
Copy link
Author

lfhuhu commented Mar 8, 2025

这个还是不能录直播嘛

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