SHARE
TWEET

Untitled

a guest Jun 25th, 2019 81 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. from InstagramAPI import InstagramAPI
  2. import time
  3.  
  4. api = InstagramAPI("roi_maskalik", "0r5r4r")
  5. time.sleep(2)
  6. if (api.login()):
  7.     print("Login succes!")
  8.     user_id = api.username_id
  9.     followers = api.getTotalFollowers(user_id)
  10.     for f in followers:
  11.         follow = api.getUserFollowers(f)
  12.         time.sleep(2)
  13.         foing =  api.getUserFollowings(f)
  14.         time.sleep(2)
  15.         if follow < 20 and follow*7 < foing:
  16.             print(f)
  17.             api.block(f)          
  18. else:
  19.     print("Can't login!")
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top