Guest User

Untitled

a guest
Feb 17th, 2018
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. from instapy import InstaPy
  2.  
  3. insta_username = ''
  4. insta_password = ''
  5.  
  6. session = InstaPy(username=insta_username,
  7. password=insta_password,
  8. headless_browser=True)
  9. session.login()
  10.  
  11. # actions
  12. session.like_by_tags(['natgeo'], amount=1)
  13.  
  14. # end the bot session
  15. session.end()
Add Comment
Please, Sign In to add comment