question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG] - V5.0.0 user_example.py raises TikTokCaptchaError when calling user.videos

See original GitHub issue

Trying out the TikTokApi v5.0.0 user_example.py example on Windows 10 Python 3.9.7 , the call on line 8:

for video in user.videos():

raises a TikTokApi.exceptions.TikTokCaptchaError: TikTok blocks this request displaying a Captcha

I tried the example both initializing TikTokApi passing a custom_verify_fp value, and initializing with no parameters with the same result both times. I also tried use_test_endpoints=True and got the same result.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:17
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

8reactions
r-jayletcommented, Mar 13, 2022

Anyone managed to make user.videos() work recently ?

4reactions
Popesitescommented, Feb 23, 2022

I initially fixed this by using the custom_verify_fp option. It is still working for me. My problem right now, is how do you generate more custom_verify_fp tokens? TikTok is no longer sending a s_v_web_id cookie

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found