Advertisement
Guest User

testing

a guest
Dec 24th, 2018
197
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.75 KB | None | 0 0
  1. """
  2. This template is written by @Tachenz
  3.  
  4. What does this quickstart script aim to do?
  5. - Interact with user followers, liking 3 pictures, doing 1-2 comment - and 25% chance of follow (ratios which work the best for my account)
  6.  
  7. NOTES:
  8. - This is used in combination with putting a 40 sec sleep delay after every like the script does. It runs 24/7 at rather slower speed, but without problems (so far).
  9. """
  10.  
  11.  
  12. from instapy import InstaPy
  13. from instapy.util import smart_run
  14.  
  15.  
  16.  
  17. # get a session!
  18. session = InstaPy(username='test', password='test')
  19.  
  20.  
  21. # let's go! :>
  22. with smart_run(session):
  23. # settings
  24. session.set_user_interact(amount=3, randomize=True, percentage=100, media='Photo')
  25. session.set_relationship_bounds (enabled=True,
  26. potency_ratio=None,
  27. delimit_by_numbers=True,
  28. max_followers=3000,
  29. max_following=900,
  30. min_followers=50,
  31. min_following=50)
  32. session.set_simulation(enabled=False)
  33. session.set_do_like(enabled=True, percentage=100)
  34. session.set_do_comment(enabled=True, percentage=35)
  35. session.set_do_follow(enabled=True, percentage=25, times=1)
  36. session.set_comments([u'Nice shot! :heart:', u'Nice! :thumbsup:',
  37. u'Love this one! :smile:', u'Photo is :fire:',
  38. u'Very nice! :heart:', u'Love it! :heart:', u':thumbsup:',
  39. u':fire:', u':heart:', u':smile:','DOPE','thats hard :fire:'])
  40. session.set_action_delays(enabled=True, like=40)
  41.  
  42. # activity
  43. session.interact_user_followers(['nat'], amount=340)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement