Datalux / Osintgram

Osintgram is a OSINT tool on Instagram. It offers an interactive shell to perform analysis on Instagram account of any users by its nickname
GNU General Public License v3.0
9.52k stars 2.09k forks source link

ClientError URLError #434

Open hamidwairless opened 2 years ago

hamidwairless commented 2 years ago

i use this command : python3 main.py -j -C

but this output error :

Cache Cleared.

Attempt to login... ClientError URLError <urlopen error [Errno -2] Name or service not known> (Code: 0, Response: )Traceback (most recent call last): File "main.py", line 121, in api = Osintgram(args.id, args.file, args.json, args.command, args.output, args.cookies) File "/home//Osintgram-master/src/Osintgram.py", line 47, in init self.login(u, p) File "/home/Osintgram-master/src/Osintgram.py", line 1129, in login error = json.loads(e.error_response) File "/usr/lib/python3.8/json/init.py", line 357, in loads return _default_decoder.decode(s) File "/usr/lib/python3.8/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/lib/python3.8/json/decoder.py", line 355, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

steam-roller commented 2 years ago

@hamidwairless have you tried entering a target at the end of code python3 main.py <target username>

Abhinav020803 commented 1 year ago

@hamidwairless have you tried entering a target at the end of code python3 main.py <target username>

I tried the same command in the first place but still it didn't work. Why it giving an exception when I am following the instruction correctly?

Abhinav020803 commented 1 year ago

i use this command : python3 main.py -j -C

but this output error :

Cache Cleared.

Attempt to login... ClientError URLError <urlopen error [Errno -2] Name or service not known> (Code: 0, Response: )Traceback (most recent call last): File "main.py", line 121, in api = Osintgram(args.id, args.file, args.json, args.command, args.output, args.cookies) File "/home//Osintgram-master/src/Osintgram.py", line 47, in init self.login(u, p) File "/home/Osintgram-master/src/Osintgram.py", line 1129, in login error = json.loads(e.error_response) File "/usr/lib/python3.8/json/init.py", line 357, in loads return _default_decoder.decode(s) File "/usr/lib/python3.8/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/lib/python3.8/json/decoder.py", line 355, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

Did you find any solution for this problem? If yes, please help me out.

aswisonu commented 11 months ago

i use this command : python3 main.py -j -C

but this output error :

Cache Cleared.

Attempt to login... ClientError URLError <urlopen error [Errno -2] Name or service not known> (Code: 0, Response: )Traceback (most recent call last): File "main.py", line 121, in api = Osintgram(args.id, args.file, args.json, args.command, args.output, args.cookies) File "/home//Osintgram-master/src/Osintgram.py", line 47, in init self.login(u, p) File "/home/Osintgram-master/src/Osintgram.py", line 1129, in login error = json.loads(e.error_response) File "/usr/lib/python3.8/json/init.py", line 357, in loads return _default_decoder.decode(s) File "/usr/lib/python3.8/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/lib/python3.8/json/decoder.py", line 355, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

i got the same problem

aswisonu commented 11 months ago

how to solve it

IbrahimAfaq1 commented 9 months ago

i use this command : python3 main.py -j -C but this output error : Cache Cleared. Attempt to login... ClientError URLError <urlopen error [Errno -2] Name or service not known> (Code: 0, Response: )Traceback (most recent call last): File "main.py", line 121, in api = Osintgram(args.id, args.file, args.json, args.command, args.output, args.cookies) File "/home//Osintgram-master/src/Osintgram.py", line 47, in init self.login(u, p) File "/home/Osintgram-master/src/Osintgram.py", line 1129, in login error = json.loads(e.error_response) File "/usr/lib/python3.8/json/init.py", line 357, in loads return _default_decoder.decode(s) File "/usr/lib/python3.8/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/lib/python3.8/json/decoder.py", line 355, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

i got the same problem

can someone tell me that problem