InstaPy / InstaPy

📷 Instagram Bot - Tool for automated Instagram interactions
GNU General Public License v3.0
16.85k stars 3.78k forks source link

unfollow loop error (all the time with 2 different users and PCs) #951

Closed sionking closed 5 years ago

sionking commented 6 years ago

I am getting it usually after 100 unfollwing.

--> Ongoing Unfollow From InstaPy 130, now unfollowing: b'1234user'
sleeping for about 15min
unfollow loop error
 Message: stale element reference: element is not attached to the page document
  (Session info: chrome=62.0.3202.94)
  (Driver info: chromedriver=2.33.506120 (e3e53437346286c0bc2d2dc9aa4915ba81d902
3f),platform=Windows NT 6.1.7601 SP1 x86_64)

--> Total people unfollowed : 130

Unfollow.py:

try:
    # set up all the settings
    session.login()
    session.set_unfollow_active_users(enabled=True, posts=2)
    session.unfollow_users(amount=550, onlyInstapyFollowed=True, onlyInstapyMethod='FIFO', sleep_delay=900 )
except KeyboardInterrupt:
    session.end()
    quit()
session.end()
arjunmurali1993 commented 6 years ago

Experiencing the same issue several times on Windows. Haven't experienced this on Ubuntu though

nsgolosoff commented 6 years ago

Has anyone solved this problem?

davidrocket commented 6 years ago

This fix is a little more complex, as the following-dialog got auto. closed after a timer (set by instagram).

stale[bot] commented 5 years ago

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