Skip to content

Commit

Permalink
Loop 5 for comment likes issue fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
simonfarah authored Nov 10, 2021
1 parent 1c12db7 commit 1e897fb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tiktok-bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,9 @@ def loop5(): #comment likes
sleep(1)
driver.find_element_by_xpath("/html/body/div[4]/div[4]/div/form/div/div/button").click()
sleep(2)
driver.find_element_by_xpath("/html/body/div[4]/div[4]/div/div/div/div/div[1]/div/form/button").click()
sleep(10)
driver.find_element_by_xpath("/html/body/div[4]/div[4]/div/div/div/div/form/ul/li/div/button").click()
driver.find_element_by_xpath("//*[@id=\"c2VuZC9mb2xsb3dlcnNfdGlrdG9r\"]/div/div/form/button").click()
sleep(5)
driver.find_element_by_xpath("//*[@id=\"c2VuZC9mb2xsb3dlcnNfdGlrdG9r\"]/form/ul/li/div/button").click()
driver.refresh()
print("")
print(">>> Comment Likes Sent <<<")
Expand Down

0 comments on commit 1e897fb

Please sign in to comment.