├── instagram.png ├── README.md └── info_instagram.py /instagram.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xcodeOn1/Info_Instagram/HEAD/instagram.png -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Info_Instagram 2 | Get info for Target in Instagram 3 | # Ues 4 | python3 info_Instagram.py -u Target 5 | # screenshot : 6 | ![First 1](https://i.ibb.co/X7YpnbK/instagram.png) 7 | -------------------------------------------------------------------------------- /info_instagram.py: -------------------------------------------------------------------------------- 1 | # -*- coding:utf -8 -*- 2 | import requests 3 | import time as mm 4 | import sys as n 5 | import optparse 6 | parser = optparse.OptionParser() 7 | parser.add_option("-u", "--user",dest="user", help="Check username info") 8 | (options, arguments) = parser.parse_args() 9 | W = '\033[0m' # white (normal) 10 | R = '\033[31m' # red 11 | G = '\033[32m' # green 12 | O = '\033[33m' # orange 13 | B = '\033[34m' # blue 14 | P = '\033[35m' # purple 15 | C = '\033[36m' # cyan 16 | GR = '\033[37m' # gray 17 | def slow(M): ## By Twitter : @Matrix0700 18 | for c in M + '\n': 19 | n.stdout.write(c) 20 | n.stdout.flush() 21 | mm.sleep(1. / 100) 22 | def slow1(M): ## By Twitter : @Matrix0700 23 | for c in M + '\n': 24 | n.stdout.write(c) 25 | n.stdout.flush() 26 | mm.sleep(1. / 1000) 27 | slow1( R + ''' 28 | _____ __ _____ _ 29 | \_ \_ __ / _| ___ \_ \_ __ ___| |_ __ _ __ _ _ __ __ _ _ __ ___ 30 | / /\/ '_ \| |_ / _ \ / /\/ '_ \/ __| __/ _` |/ _` | '__/ _` | '_ ` _ \ 31 | /\/ /_ | | | | _| (_) | /\/ /_ | | | \__ \ || (_| | (_| | | | (_| | | | | | | 32 | \____/ |_| |_|_| \___/ \____/ |_| |_|___/\__\__,_|\__, |_| \__,_|_| |_| |_| 33 | |___/ 34 | ''') 35 | slow1( C + ''' 36 | ──▄█████████████████████████▄── 37 | ▄█▀░█░█░█░░░░░░░░░░░░░░░░░░░▀█▄ 38 | █░░░█░█░█░░░░░░░░░░░░░░█████░░█ 39 | █░░░█░█░█░░░░░░░░░░░░░░█████░░█ 40 | █░░░█░█░█░░░░░░░░░░░░░░█████░░█ 41 | █░░░░░░░░░▄▄▄█████▄▄▄░░░░░░░░░█ 42 | ███████████▀▀░░░░░▀▀███████████ 43 | █░░░░░░░██░░▄█████▄░░██░░░░░░░█ 44 | █░░░░░░░██░██▀░░░▀██░██░░░░░░░█ 45 | █░░░░░░░██░██░░░░░██░██░░░░░░░█ 46 | █░░░░░░░██░██▄░░░▄██░██░░░░░░░█ 47 | █░░░░░░░██▄░▀█████▀░▄██░░░░░░░█ 48 | █░░░░░░░░▀██▄▄░░░▄▄██▀░░░░░░░░█ 49 | █░░░░░░░░░░▀▀█████▀▀░░░░░░░░░░█ 50 | █░░░░░░░░░░░░░░░░░░░░░░░░░░░░░█ 51 | █░░░░░░░░░░░░░░░░░░░░░░░░░░░░░█ 52 | █░░░░░░░░░░░░░░░░░░░░░░░░░░░░░█ 53 | ▀█▄░░░░░░░░░░░░░░░░░░░░░░░░░▄█▀ 54 | ──▀█████████████████████████▀── 55 | ─────── By Xcode & @xcodeon1───────── 56 | ''') 57 | print(W +"-"*58) 58 | user = options.user # user arg option 59 | 60 | ################# instagram headr & request########################### 61 | url = "https://i.instagram.com:443/api/v1/users/lookup/" 62 | cookies = {"mid": "XOSINgABAAG1IDmaral3noOozrK0rrNSbPuSbzHq"} 63 | headers = {"Connection": "close", "X-IG-Connection-Type": "WIFI", "X-IG-Capabilities": "3R4=", 64 | "Accept-Language": "ar-AE", 65 | "Content-Type": "application/x-www-form-urlencoded; charset=UTF-8", 66 | "User-Agent": "Instagram 99.4.0 S3od_al3nzi (Dmaral3noOoz)", 67 | "Accept-Encoding": "gzip, deflate"} 68 | data = {"signed_body": "35a2d547d3b6ff400f713948cdffe0b789a903f86117eb6e2f3e573079b2f038.{\"q\":\"%s\"}" % user } 69 | re = requests.post(url, headers=headers, cookies=cookies, data=data) 70 | info = re.json() 71 | #################################Get username Info mathed################################## 72 | def GetInfo(): 73 | Have_email = info.get('obfuscated_email') 74 | Have_number = info.get('obfuscated_phone') 75 | email_rest = info.get('can_email_reset') 76 | number_rest = info.get('can_sms_reset') 77 | if Have_email is None: 78 | print(W + "$His Email : " + R + str(Have_email)) 79 | else: 80 | print(W + "$His Email : " + G + Have_email) 81 | if Have_number is None: 82 | print(W + "$His number : " + R + str(Have_number)) 83 | else: 84 | print(W + "$His number: " + G + Have_number) 85 | if email_rest == False: 86 | print(W + "$Can Rest By Eamil ? : " + R + str(email_rest)) 87 | else: 88 | print(W + "$Can Rest By Eamil ? : " + G + str(email_rest)) 89 | if number_rest == False: 90 | print(W + "$Can Rest By Nmuber ? : " + R + str(number_rest)) 91 | else: 92 | print(W + "$Can Rest By Number ? : " + G + str(number_rest)) 93 | GetInfo() 94 | 95 | --------------------------------------------------------------------------------