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.

Tik Tok displaying captcha, even after using proxy. (how to find verify_fp?)

See original GitHub issue

Despite the usage of proxies, there seems to still be the bug in regards to tiktok blocking the requests through captcha. Is there a way we could use a different verifyfp because I know that is the main problem. HOW TO FIND VERIFYFP that is usable?

You run the following:

SET LOGGING LEVEL TO INFO BEFORE POSTING CODE OUTPUT

import logging
TikTokApi(logging_level=logging.INFO) # SETS LOGGING_LEVEL TO INFO
# Hopefully the info level will help you debug or at least someone else on the issue
# Code Goes Here
```import logging
TikTokApi(logging_level=logging.INFO)
from TikTokApi import TikTokApi

verify_fp = "verify_xxx"
api = TikTokApi(custom_verify_fp=verify_fp)

tag = api.hashtag(name="fyp")

print(tag.info())
for video in tag.videos():
    print(video.id)



**Expected behavior**

283974239889324
209348230948398
293084230948234
.
.
.

**Error Trace (if any)**

Put the error trace below if there's any error thrown.

Error Trace Here

  File "idget.py", line 9, in <module>
    for video in tag.videos():
  File "/home/beta/.local/lib/python3.8/site-packages/TikTokApi/api/hashtag.py", line 117, in videos
    res = self.parent.get_data(path, **kwargs)
  File "/home/beta/.local/lib/python3.8/site-packages/TikTokApi/tiktok.py", line 293, in get_data
    raise TikTokCaptchaError()
TikTokApi.exceptions.TikTokCaptchaError: TikTok blocks this request displaying a Captcha 
Tip: Consider using a proxy or a custom_verify_fp as method parameters


**Desktop (please complete the following information):**
 - OS: Ubuntu 20.04.4 LTS x86_64
 - TikTokApi Version 5.0.0

**Additional context**

Add any other context about the problem here.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:6
  • Comments:10

github_iconTop GitHub Comments

2reactions
kkkkkkattttttcommented, May 9, 2022

Has any solution come yet?? Thanks!

2reactions
Alex-Laparracommented, May 9, 2022

I got the verify_fp by finishing the captcha after deleting cookies and attempting to login with phone number, and then I put it in the

api = TikTokApi(custom_verify_fp=verify_fp)

But it still asks for captcha.

Yeah it’s pretty much the same for everyone. Let’s hope David sees this and finds a fix!

Read more comments on GitHub >

github_iconTop Results From Across the Web

“TikTok blocks this request displaying a Captcha” on the shell ...
[BUG] - “TikTok blocks this request displaying a Captcha” on the ... using a proxy could solve it, you need a proxy with...
Read more >
how to create a good verifyfp for TikTok-Api to bypass captcha ...
how to create a good verifyfp for TikTok -Api to bypass captcha errordiscord : discord.gg/kpoppaypal : https://www.paypal.me/ksinging.
Read more >
tiktok-scraper-react-native - npm package - Snyk
This feature only works from the CLI and only if download flag is on. View and manage previously downloaded posts history in the...
Read more >
Where to learn how sites work? : r/AskProgramming - Reddit
For example I'm stuck in a captcha which is asking me for a proxy or a custom_verify_fp: I found a video that show...
Read more >
How can I go about avoiding verification for a TikTok bot with ...
I am aware of sneaker bots using proxies to avoid these sorts of issues, however TikTok requires cookies authentication from a signed in ......
Read more >

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