From 72e6d22bbbf8f14ac93dbef09c34fc9251c76e34 Mon Sep 17 00:00:00 2001 From: Datalux Date: Sun, 30 Aug 2020 16:43:59 +0200 Subject: [PATCH] fix: requests endpoint --- src/Osintgram.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Osintgram.py b/src/Osintgram.py index 7ae7c402..a870dcd6 100644 --- a/src/Osintgram.py +++ b/src/Osintgram.py @@ -1079,7 +1079,7 @@ def get_fwersemail(self): results = [] for follow in followers: - req = urllib.request.urlopen("https://www.instagram.com/" + str(follow['id']) + "/?__a=1") + req = urllib.request.urlopen("https://www.instagram.com/" + str(follow['username']) + "/?__a=1") data = json.load(req)['graphql']['user'] if data['business_email']: follow['email'] = data['business_email']