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

Fwersemail error, how can i fix it #492

Open Ika1009 opened 2 years ago

Ika1009 commented 2 years ago

Traceback (most recent call last): File "/usr/lib/python3.9/urllib/request.py", line 1346, in do_open h.request(req.get_method(), req.selector, req.data, headers, File "/usr/lib/python3.9/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.9/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.9/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.9/http/client.py", line 1040, in _send_output self.send(msg) File "/usr/lib/python3.9/http/client.py", line 980, in send self.connect() File "/usr/lib/python3.9/http/client.py", line 1447, in connect super().connect() File "/usr/lib/python3.9/http/client.py", line 946, in connect self.sock = self._create_connection( File "/usr/lib/python3.9/socket.py", line 823, in create_connection for res in getaddrinfo(host, port, 0, SOCK_STREAM): File "/usr/lib/python3.9/socket.py", line 954, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/home/ika1009/Osintgram/venv/lib/python3.9/site-packages/instagram_private_api/client.py", line 523, in _call_api response = self.opener.open(req, timeout=self.timeout) File "/usr/lib/python3.9/urllib/request.py", line 517, in open response = self._open(req, data) File "/usr/lib/python3.9/urllib/request.py", line 534, in _open result = self._call_chain(self.handle_open, protocol, protocol + File "/usr/lib/python3.9/urllib/request.py", line 494, in _call_chain result = func(*args) File "/usr/lib/python3.9/urllib/request.py", line 1389, in https_open return self.do_open(http.client.HTTPSConnection, req, File "/usr/lib/python3.9/urllib/request.py", line 1349, in do_open raise URLError(err) urllib.error.URLError: <urlopen error [Errno -3] Temporary failure in name resolution>

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/home/ika1009/Osintgram/main.py", line 186, in _cmd() File "/home/ika1009/Osintgram/src/Osintgram.py", line 1238, in get_fwersemail user = self.api.user_info(str(follow['id'])) File "/home/ika1009/Osintgram/venv/lib/python3.9/site-packages/instagram_private_api/endpoints/users.py", line 17, in user_info res = self._call_api('users/{user_id!s}/info/'.format(**{'user_id': user_id})) File "/home/ika1009/Osintgram/venv/lib/python3.9/site-packages/instagram_private_api/client.py", line 533, in _call_api raise ClientConnectionError('{} {}'.format( instagram_private_api.errors.ClientConnectionError: URLError <urlopen error [Errno -3] Temporary failure in name resolution>

9hex-lab commented 10 months ago

hello I had a problem while entring the target name and this appears :

Attempt to login... ClientError URLError <urlopen error [Errno -2] Name or service not known> (Code: 0, Response: )Traceback (most recent call last): File "/home/kadelow/Osintgram/main.py", line 121, in api = Osintgram(args.id, args.file, args.json, args.command, args.output, args.cookies) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/kadelow/Osintgram/src/Osintgram.py", line 47, in init self.login(u, p) File "/home/kadelow/Osintgram/src/Osintgram.py", line 1129, in login error = json.loads(e.error_response) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/json/init.py", line 346, in loads return _default_decoder.decode(s) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/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)