From the examples of the unfollow function;
session.unfollow_users(amount=10, onlyInstapyFollowed = True, onlyInstapyMethod = 'FIFO', sleep_delay=60)
This would unfollow 10 users every 60 minutes.
Is there a way to add a delay so that after following a user, unfollow can't be activated for a variable period eg:
session.unfollow_users(amount=10, onlyInstapyFollowed = True, onlyInstapyMethod = 'FIFO', sleep_delay=60, unfollow_delay=10080)
This would unfollow 10 users every 60 minutes, but only if account had been followed for 7 days or more.
This would be awesome!
I wonder if you could schedule this as a separate job with an offset;
https://github.com/timgrossmann/InstaPy#automate-with-schedule
Definitely a great idea, I believe this would potentially huge improve the throughput.
I have done a feature that unfollow each time we get to max followeing by user so we can drop unfollow_users
@sionking could you explain how you've achieved this please?
coding ... I will PR soon
Here it is guys,
@underclass for delay of week, use
unfollow_users(unfollow_after=168*60*60)
or just
_unfollow_after=604800
_
it's just seconds, for ease use
hours*minutes*seconds
format (1 week is 168 hours)
Also, the time is unique for every user..
@migueldierssen @CharlesCCC
_Hey_ @sionking _I didn't know you were working on this xD
I just wrote this yesterday, that I was to push but slept earlier.._
@uluQulu @sionking you guys are the best 馃憤
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
Most helpful comment
Here it is guys,
@underclass for delay of week, use
or just
_
unfollow_after=604800
_Also, the time is unique for every user..
@migueldierssen @CharlesCCC
_Hey_ @sionking _I didn't know you were working on this xD
I just wrote this yesterday, that I was to push but slept earlier.._