Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from instapy import InstaPy
- from instapy import smart_run
- # login credentials
- insta_username = ''
- insta_password = ''
- # get an InstaPy session!
- # set headless_browser=True to run InstaPy in the background
- session = InstaPy(username=insta_username,
- password=insta_password,
- headless_browser=True)
- with smart_run(session):
- session.set_relationship_bounds(enabled=True, delimit_by_numbers=True, max_followers=4590, min_followers=45, min_following=77)
- session.follow_by_tags(['teste1'], amount=500)
- session.follow_user_followers(['teste1','teste2'], amount=4590, randomize=False, interact=False)
- session.unfollow_users(amount=500, InstapyFollowed=(True, "nonfollowers"), style="FIFO", unfollow_after=24 * 60 * 60, sleep_delay=601)
- session.join_pods()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement