Advertisement
Guest User

Untitled

a guest
Feb 20th, 2020
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. #!/usr/bin/env python3
  2. import sys
  3. import os
  4. import requests
  5.  
  6. url = "https://www.instagram.com/holasoyojosbola/?__a=1"
  7.  
  8. response = requests.get(url)
  9. if response.status_code == 200:
  10. json = response.json()
  11. if json["graphql"]["user"]["edge_followed_by"]["count"] > 900:
  12. print("Ana made it! Gift her the thing")
  13. sys.exit(0)
  14. else:
  15. sys.exit(-1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement