Instapy: IntaPy do unfollow without asking.

Created on 10 Oct 2017  路  12Comments  路  Source: timgrossmann/InstaPy

I susspect InstaPy doing unfollow to some of the users whom I am following.
I think the secnario is like this:

  1. Getting list of users (one of the user in the list is someone I follow after)
  2. Trying to do follow to this user.
  3. instead of follow it doing unfollow since this is the same button.
    Is this scenario possiable ?
    It was not One time issue.
    my start:
session = InstaPy(username=insta_username, password=insta_password)
session.login()
session.set_upper_follower_count(limit=3500)
session.set_do_follow(enabled=True, percentage=80, times=1)
session.set_do_like(enabled=True, percentage=90)
session.like_by_tags(taglist, amount=70)
session.like_by_feed(amount=50)
session.end()

Thanks.

bug help wanted

Most helpful comment

@timgrossmann for sure, as soon as I have a free time

All 12 comments

@sionking Someone else also reported this I'm not sure how that should happen though since it checks the follow button if the text is "Follow" if not, it will not follow the person.

Someone has to investigate that a bit further.

We need to add our following to the ignore list, it may help .

I will update if I will get to it

I saw it happens ! if a user is already followed than it will unfollow.

Hi:
follow_button = browser.find_element_by_xpath(
"//*[contains(text(), 'Follow')]")

contains Follow in also "Following" maybe this is the reason ?

not really an selenium guy but I see this changes before and after following the user:
image

here is a fix:
follow_button = browser.find_element_by_xpath("//*[text()='Follow']")

But if a user is already followed - it will take time for proccessing it (xpath will over all xml)

Guys! I think it is super important ! don't you ?

@sionking Feel free to post a bounty on this. This will increase the speed of resolution.

@converge Could you maybe look into this as well, please?

@timgrossmann for sure, as soon as I have a free time

@converge You're awesome!
Thank you very much!

@timgrossmann @sionking your wish if my command :D

824 (can someone test it ?)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ghost picture ghost  路  3Comments

wyvers picture wyvers  路  3Comments

harrypython picture harrypython  路  3Comments

converge picture converge  路  3Comments

CodeMaster1 picture CodeMaster1  路  3Comments