redianmarku / tiktok-autouploader

A python script that can automatically upload in Tiktok.
110 stars 38 forks source link

HELP ME PLEASE!! #3

Open thanhtuvietnam opened 3 years ago

thanhtuvietnam commented 3 years ago

Exception has occurred: NoSuchElementException Message: no such element: Unable to locate element: {"method":"xpath","selector":"//*[@id="main"]/div[2]/div/div[2]/div[3]/div[1]/div[1]/div[2]/div/div[1]/div/div/div/div/div/div/span"} (Session info: chrome=93.0.4577.82) File "C:\Users\ADMIN\Desktop\tiktok-autouploader\run.py", line 51, in upload caption = bot.find_element_by_xpath( File "C:\Users\ADMIN\Desktop\tiktok-autouploader\run.py", line 105, in upload(r"C:\Users\ADMIN\Desktop\tiktok-autouploader\0.mp4")

thanhtuvietnam commented 3 years ago

i use this (By.XPATH, '//*[@id="__next"]/div[@id="main"]/div[2]/div/div[2]/div[3]/div[6]/button[2]'))) and i did post video on tiktok but it doesn't type caption, can you help me

botcoder-sys commented 3 years ago

@thanhtuvietnam The xpath is updated. Kindly change it to proper xpath. Use this instead caption = bot.find_element_by_xpath( '//*[@id="main"]/div[2]/div/div/div[2]/div[3]/div[1]/div[1]/div[1]/div[2]/div/div[1]/div/div/div/div/div/div')