Advertisement
Guest User

Untitled

a guest
Mar 4th, 2019
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.82 KB | None | 0 0
  1. # imports
  2. from instapy import InstaPy
  3. from instapy import smart_run
  4. from instapy import set_workspace
  5.  
  6. # set workspace folder at desired location (default is at your home folder)
  7. set_workspace(path=None)
  8.  
  9.  
  10. # get an InstaPy session!
  11. session = InstaPy(username='chancetheapp', password='PcBUnwvu28ux', headless_browser=True)
  12.  
  13.  
  14. with smart_run(session):
  15.  
  16.  
  17. session.set_do_like(enabled=False, percentage=94)
  18. session.set_do_comment(enabled=False, percentage=24)
  19. session.set_comments()
  20. session.set_user_interact(amount=15, randomize=True, percentage=15, media='Photo')
  21. session.set_do_follow(enabled=True, percentage=100)
  22.  
  23.  
  24. #start the feature
  25. session.interact_by_URL(urls=["", "", "", "", ""], randomize=False, interact=True)
  26.  
  27. session.set_blacklist(enabled=True, campaign='Promoted_posts')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement