Home > OS >  Tiktok accounts creator bot in python banned by "Too many attemps, try later."
Tiktok accounts creator bot in python banned by "Too many attemps, try later."

Time:11-12

I would like to make a bot in python that create tiktok accounts.

For that, I coded a python script which opens selenium by connecting to a proxy chosen at random in list.

My selenium window is initialized as follows:

from selenium import webdriver
PROXY = "proxy:port"
chrome_options = WebDriver.ChromeOptions()
chrome_options.add_argument('--proxy-server=%s' % PROXY)
driver = webdriver.Chrome(chrome_options=chrome_options)

Then goes to tiktok.com and enters all the necessary information, for mail, I use temp mail.

When I click on the submit button, tiktok return a error : "Too many attemps, try later."

Then, I tried to create a tiktok account without selenium with a vpn, different proxies, different internet browser as well as different virtual machines and android emulators but nothing works, it return alway the same error.

Sorry, I can show you the image soo I give you the link... image of the error

After that, I deduce that tiktok did not ban me by my ip but by my machine.

How do I stop tiktok from recognizing me and so I can create new accounts?

Thank you.

CodePudding user response:

I suggest you use a private proxy, if you're not already doing that, because public proxies might have made a lot of requests to TikTok already, limiting you from doing the same.

You could also take a look at rotating proxies. These proxies automatically change their IP periodically to prevent getting rate limited.

Do keep in mind doing things like this is almost certainly against TikTok's terms of service and could result in your IP being blacklisted.

CodePudding user response:

While attempting to login, re-login or creating an account TikTok platform may even wrongly identify you as a bot or spam and for the next 5 minutes or so, you may keep getting the Too many attempts. Try again later. error message when trying to sign in to TikTok as follows.

TikTok_Too many attempts_Try again later

To avoid getting detected as a bot you can use the following solution:

option = webdriver.ChromeOptions()
option.add_argument("--profile-directory=Default")
option.add_argument("--user-data-dir=C:/Users/user/AppData/Local/Google/Chrome/User Data")
option.add_argument('--disable-blink-features=AutomationControlled')
option.add_argument("window-size=1920,1000")
#optional : option.add_argument("user-agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36")
driver = webdriver.Chrome(options=option)
  • Related