Skip to content

Commit

Permalink
fix: fix issue #46
Browse files Browse the repository at this point in the history
  • Loading branch information
Datalux committed Sep 3, 2020
1 parent 268e9dc commit 9966dde
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 @@ -949,7 +949,7 @@ def get_people_tagged_by_user(self):
def get_user(self, username):
try:
content = urllib.request.urlopen("https://www.instagram.com/" + username + "/?__a=1")
data = json.load(content)
data = json.load(content.decode('utf-8'))
if self.writeFile:
file_name = "output/" + self.target + "_user_id.txt"
file = open(file_name, "w")
Expand Down

0 comments on commit 9966dde

Please sign in to comment.