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

cookie问题的一点发现 #465

Open
supersaiyan2019 opened this issue Aug 10, 2024 · 3 comments
Open

cookie问题的一点发现 #465

supersaiyan2019 opened this issue Aug 10, 2024 · 3 comments

Comments

@supersaiyan2019
Copy link

跟很多人反馈的一样,我也困扰于明明填了最新的cookie,但仍返回空的问题
刚才又尝试了一下,从
这个地方获取了完整的cookie,填入配置文件后发现居然可以用了
怀疑抖音后台对cookie的检测更严格了,从network那边获得的cookie片段检测不通过了
不过也不确定,还请大家再测试一下

@supersaiyan2019
Copy link
Author

Application->Storage->Cookies->https://www.douyin.com

@Evil0ctal
Copy link
Owner

嗯嗯,可能是,请问你通过Storage获取到的完整Cookie是否可以从接口正常请求数据?

@HppZ
Copy link

HppZ commented Sep 15, 2024

请教下:
用 chrome 从 web 版抖音导出 cookie 后, 修改这个文件 crawlers\douyin\web\config.yaml 里的 cookie 字段, 然后重启 docker, 然后发起请求 http://localhost/api/douyin/web/fetch_one_video?aweme_id=7414775724063640883 会报错:

{
  "detail": {
    "code": 400,
    "message": "An error occurred.",
    "support": "Please contact us on Github: https://github.com/Evil0ctal/Douyin_TikTok_Download_API",
    "time": "2024-09-15 12:02:45",
    "router": "/api/douyin/web/fetch_one_video",
    "params": {
      "aweme_id": "7414775724063640883"
    }
  }
}

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

3 participants