diff --git a/toutatis-maltego.py b/toutatis-maltego.py index f125c57..4d5e6fb 100644 --- a/toutatis-maltego.py +++ b/toutatis-maltego.py @@ -1,5 +1,5 @@ from toutatis import * -import json +import requests from MaltegoTransform import * import json @@ -16,7 +16,7 @@ cookies = {'sessionid': sessionsID} headers = {'User-Agent': 'Instagram 64.0.0.14.96',} -response = get('https://i.instagram.com/api/v1/users/'+userId+'/info/', headers=headers, cookies=cookies) +response = requests.get('https://i.instagram.com/api/v1/users/'+userId['id']+'/info/', headers=headers, cookies=cookies) info = json.loads(response.text) infos = info["user"] try: