Advertisement
Oldw1

Untitled

Apr 26th, 2020
376
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.43 KB | None | 0 0
  1. import time
  2. import requests
  3. import re
  4. tok = csrf()
  5.  
  6. def Mainf():
  7.     print("1 - Following Remover")
  8.     print("2 - Followers Remover")
  9.     print("4 - Saved Remover")
  10.     print("5 - Posts Remover")
  11.     print("6- Direct Cleaner")
  12.     print("7- All :)")
  13.  
  14. def csrf():
  15.     response = requests.get("https://www.instagram.com/")
  16.     x = re.search("csrftoken=(.*?);", response.headers['set-cookie'])
  17.     return x[1]
  18.  
  19.  
  20. Mainf()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement