[BUG] Tiktok wants to display a catcha. Response is:
See original GitHub issueERROR:root:Tiktok wants to display a catcha. Response is:
{"statusCode":10000,"verifyConfig":{"code":10000,"type":"verify","subtype":"slide","fp":"verify_khr3jabg_V7ucdslq_Vrw9_4KPb_AJ1b_Ks706M8zIJTq","region":"va","detail":"4hyVUOpatxxq6pHOBFmS8b3aMDzpm3L4rHXVrE9-Jm8OTW0P0R7YDjFEo7iIIdzyD8K2WhW4wKI5nDLOpn4VqCWvn8aDlinCUZ6ZVTG16fnrqQ0UD56vFwefAyC73phGyVW2x5*rFYRbBc4ypXRKnjUza4EISLLxDXNPWFhVCL*mESS-aI0DmMg8tmrUfIbFnPQfAQ94mYtMKGOpgR*1nbIAqvhIqVomD5v-rGKx7s17Z*jaDH56rNfIsP3BMr0uL2VgSvAyjpeBiWgsY*PaJtQEd3*JgxC0lulaXa-a3krdzZRmlCIftcLKfejSduRiu0f3MrBz-Uqp86mrjDA40JLE*7GnOXDRFtQBYU63kArkPvlAYJES8TPHomvu3I4g9ROK0xkwBy0."}}
ERROR:root:{'tt_webid': '3373488270993372972', 'tt_webid_v2': '3373488270993372972', 'tt_csrf_token': 'mHVDcsqFRScFiRbG'}
Errors: TikTok blocks this request displaying a Captcha
Tip: Consider using a proxy or a custom_verifyFp as method parameters
These are my code here:
import time
from logging import exception
from TikTokApi import TikTokApi
if __name__ == "__main__":
verifyFp = "verify_khr3jabg_V7ucdslq_Vrw9_4KPb_AJ1b_Ks706M8zIJTq"
count = 30
curTime = time.strftime("%Y-%m-%d %H:%M:%S", time.localtime())
try:
api = TikTokApi.get_instance(custom_verifyFp=verifyFp)
tiktoks = api.byHashtag("funny", count=count)
with open("results/getTiktoksByHashtag_" + curTime + ".json", "w", encoding="utf-8") as f:
f.write(str(tiktoks))
print("\033[0;32;40mSuccess!\033[0m")
except Exception as e:
print("Errors:", e)
print("\033[1;31mFail!\033[0m")
How to solve this problem?What am i suppose t do?Thanks
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:15 (1 by maintainers)
Top Results From Across the Web
How to fix TikTok blocks this request displaying a Captcha #421
Try the following api = TikTokApi(use_api_endpoints=True) it uses TikTok's test endpoints which seem to have less security. Their entire desktop ...
Read more >How to avoid a tiktok captcha? : r/AskProgramming - Reddit
I use TikTokApi and my goal is to print all the tiktok liked by an user (mine). ... Tiktok wants to display a...
Read more >First steps - TikTok Help Center
If internet connectivity is not the issue, try clearing your app cache. To clear your cache: 1. Tap Profile in the bottom right....
Read more >What is CAPTCHA? - Google Workspace Admin Help
CAPTCHA (Completely Automated Public Turing test to tell Computers and Humans Apart) is a type of security measure known as challenge-response ...
Read more >Newest 'tiktok' Questions - Stack Overflow
I want to download video without watermark from within Tiktok app. ... home page that the dev tools show an error with an...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
tiktok_api = Tiktok() tiktok_list = tiktok_api.byHashtag(hashtag_name,count=2000,proxy=‘http://xxx.xxxx.xxxx:port’),#ip:端口
#613 / Version 3.9.9 should fix this to an extent 😃