Instapy: ERROR [2018-05-15 09:24:56] [XXX] following_link error list index out of range

Created on 15 May 2018  路  3Comments  路  Source: timgrossmann/InstaPy

Hi,
I get the error ERROR [2018-05-15 09:24:56] [XXX] following_link error list index out of range
when trying to unfollow.
It has always worked before and now suddenly it stopped working, I've tried to just unfollow one person and so on but nothing makes it work.

Any clue?

wontfix

Most helpful comment

Solved in #2031 with:
this change will solve your issue:
open up unfollow_util.py file,

find and replace

following_link = browser.find_elements_by_xpath(
'//article//ul//li[3]')
with

following_link = browser.find_elements_by_xpath(
'//section//ul//li[3]')
just replaced article with section

All 3 comments

Same error here

Solved in #2031 with:
this change will solve your issue:
open up unfollow_util.py file,

find and replace

following_link = browser.find_elements_by_xpath(
'//article//ul//li[3]')
with

following_link = browser.find_elements_by_xpath(
'//section//ul//li[3]')
just replaced article with section

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

If this problem still occurs, please open a new issue

Was this page helpful?
0 / 5 - 0 ratings

Related issues

harrypython picture harrypython  路  3Comments

converge picture converge  路  3Comments

seuraltimez picture seuraltimez  路  3Comments

CodeMaster1 picture CodeMaster1  路  3Comments

v77v picture v77v  路  3Comments