Harshp20/Python-Instagram-Bot

Traceback Error

miggimig opened this issue · 1 comments

Apologies if this has already been addressed elsewhere but I noticed that for options 2, 3 and 5, I receive the following Traceback error:

selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"xpath","selector":"/html/body/div[4]/div/div[2]"}


Happy to paste the entire error message displayed / submit if easier - thank you again for all the work on such a fantastic tool.

open InstaBot.py and replace all:
/html/body/div[4]/
to
/html/body/div[5]/div/

("/html/body/div[4]/div/div[2]" transfer to "/html/body/div[5]/div/div/div[2]")