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

[QUESTION]url 403 #161

Open
cyclestudy opened this issue Jul 30, 2024 · 5 comments
Open

[QUESTION]url 403 #161

cyclestudy opened this issue Jul 30, 2024 · 5 comments
Labels
提问(question) 想得到更多的详细支持(Further information is requested)

Comments

@cyclestudy
Copy link

cyclestudy commented Jul 30, 2024

image image 是这个解决方案吗? `当下载`tiktok`视频时出现`403 Forbidden`错误时,是由于`设备id`被封禁导致的。

设备id与生成的cookie是一一对应的,如果设备id被封禁,那么生成的cookie也会被封禁。

解决办法:

  1. 运行生成device_Id的代码片段,获取新的device_Id
  2. 将新的device_Id替换到配置文件中。
  3. 将新的cookie里的值替换到配置文件的cookie中(增量非覆盖)。
  4. 重新运行下载命令。

代码片段:
https://johnserf-seed.github.io/f2/guide/apps/tiktok/#%E7%94%9F%E6%88%90deviceid-%F0%9F%9F%A2`

解决办法具体怎么操作

@cyclestudy cyclestudy added the 提问(question) 想得到更多的详细支持(Further information is requested) label Jul 30, 2024
@cyclestudy cyclestudy changed the title [QUESTION]没有找到符合条件的作品 [QUESTION]url 403 Jul 31, 2024
@GitHubDer
Copy link

楼主解决了吗

@cyclestudy
Copy link
Author

楼主解决了吗

没有,对小白不太友好

@JoeanAmier
Copy link

自己改一下 device_id 参数。

@cyclestudy
Copy link
Author

自己改一下 device_id 参数。

不会修改....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
提问(question) 想得到更多的详细支持(Further information is requested)
Projects
None yet
Development

No branches or pull requests

4 participants
@GitHubDer @JoeanAmier @cyclestudy and others