Skip to content

Commit 414d485

Browse files
committed
Fixed a bug
1 parent 41e69c2 commit 414d485

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Instagram Liker Bot/Instagram_Liker_Bot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
time.sleep(2)
2727

28-
post = chrome.find_element_by_xpath('/html/body/div[1]/section/main/div/div[2]/article/div[1]/div/div[1]/div[1]/a/div[1]/div[2]')
28+
post = chrome.find_element_by_xpath('//*[@id="react-root"]/section/main/div/div[3]/article/div[1]/div/div[1]/div[1]/a/div[1]/div[2]')
2929
post.click()
3030
time.sleep(2)
3131
like_button= chrome.find_element_by_xpath('/html/body/div[5]/div[2]/div/article/div[3]/section[1]/span[1]/button')

0 commit comments

Comments
 (0)