Harshp20 / Python-Instagram-Bot

This is a robust, powerful and fully featured Instagram Bot that automates tedious tasks on Instagram using some really cool features
GNU General Public License v3.0
136 stars 22 forks source link

Traceback Error #7

Open miggimig opened 4 years ago

miggimig commented 4 years ago

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.

hashtet commented 4 years ago

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]")