Advertisement
Guest User

script72

a guest
Jan 12th, 2019
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.12 KB | None | 0 0
  1. from instapy import InstaPy
  2. from instapy.util import smart_run
  3.  
  4. """ Activity flow """
  5.  
  6. insta_username = ''
  7. insta_password = ''
  8.  
  9. session = InstaPy(username=insta_username,
  10. password=insta_password,
  11. headless_browser=True)
  12.  
  13. with smart_run(session):
  14. """ Activity flow """
  15. # general settings
  16. session.set_relationship_bounds(enabled=True,
  17. potency_ratio=1.3,
  18. delimit_by_numbers=True,
  19. max_followers=4590,
  20. min_followers=45,
  21. min_following=77)
  22. session.set_comments(['Great Video wish i was there to see those cars! @{}'], media='video')
  23.  
  24. session.set_comments(['Nice shot of a beautiful car! @{}'], media='photo')
  25.  
  26. session.set_do_comment(enabled=True, percentage=100)
  27.  
  28.  
  29. session.follow_likers (['speedsuspects'], photos_grab_amount = 5, follow_likers_per_photo = 3, randomize=True, sleep_delay=600, interact=True)
  30. # activity
  31. session.like_by_tags(["gt2rs","bmwmperformance","m5"], amount=20)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement