Skip to content

Commit

Permalink
fix: requests endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
Datalux committed Aug 30, 2020
1 parent 41a8302 commit 72e6d22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Osintgram.py
Original file line number Diff line number Diff line change
Expand Up @@ -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']
Expand Down

0 comments on commit 72e6d22

Please sign in to comment.