TikTok-Api icon indicating copy to clipboard operation
TikTok-Api copied to clipboard

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

Open elfpvke opened this issue 3 years ago • 9 comments

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.

elfpvke avatar Feb 23 '22 05:02 elfpvke

I am also facing the same issue.

kevit-dhairya-bapodra avatar Feb 23 '22 05:02 kevit-dhairya-bapodra

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

Popesites avatar Feb 23 '22 06:02 Popesites

Using custom_verify_fp and it doesn't work for me anymore

dejl avatar Feb 23 '22 10:02 dejl

I have same problem

ucmuller avatar Feb 23 '22 12:02 ucmuller

I am doing following to generate new custom_verify_fp:

  1. Go to www.tiktok.com
  2. Sign into www.tiktok.com with email
  3. Verify captcha
  4. This generates new s_v_web_id

However, when I try to use s_v_web_id for custom_verify_fp it gives 10000 status code.

Popesites avatar Feb 23 '22 16:02 Popesites

hi Popesties, I follow your step to get s_v_web_id, but I dont have s_v_web_id in cookie

impossibleno1 avatar Feb 26 '22 07:02 impossibleno1

Hi @impossibleno1 - try to find your cookies using f12: https://developer.chrome.com/docs/devtools/storage/cookies/

EllisMuch avatar Feb 26 '22 20:02 EllisMuch

@impossibleno1 When you log in it will send you a captcha, and it will definitely generate the s_v_web_id. But either way it will not be useful, the token generated doesn't work with this API.

Popesites avatar Feb 26 '22 21:02 Popesites

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

r-jaylet avatar Mar 13 '22 22:03 r-jaylet

V6

davidteather avatar Aug 08 '23 22:08 davidteather