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.51k stars 2.08k forks source link

Can't start Osintgram #341

Open KingMughal1 opened 2 years ago

KingMughal1 commented 2 years ago

I get this message when starting Osintgram

Attempt to login... ClientCookieExpiredError/ClientLoginRequiredError: Cookie expired at 1628592384 Traceback (most recent call last): File "/home/kbawais/Osintgram/src/Osintgram.py", line 1117, in login on_login=lambda x: self.onlogin_callback(x, settings_file)) File "/home/kbawais/Osintgram/venv/lib/python3.7/site-packages/instagram_private_api/client.py", line 165, in init raise ClientCookieExpiredError('Cookie expired at {0!s}'.format(cookie_jar.auth_expires)) instagram_private_api.errors.ClientCookieExpiredError: Cookie expired at 1628592384

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/home/kbawais/Osintgram/venv/lib/python3.7/site-packages/instagram_private_api/client.py", line 523, in _call_api response = self.opener.open(req, timeout=self.timeout) File "/usr/lib/python3.7/urllib/request.py", line 531, in open response = meth(req, response) File "/usr/lib/python3.7/urllib/request.py", line 641, in http_response 'http', request, response, code, msg, hdrs) File "/usr/lib/python3.7/urllib/request.py", line 569, in error return self._call_chain(args) File "/usr/lib/python3.7/urllib/request.py", line 503, in _call_chain result = func(args) File "/usr/lib/python3.7/urllib/request.py", line 649, in http_error_default raise HTTPError(req.full_url, code, msg, hdrs, fp) urllib.error.HTTPError: HTTP Error 400: Bad Request

During handling of the above exception, another exception occurred:

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/kbawais/Osintgram/src/Osintgram.py", line 47, in init self.login(u, p) File "/home/kbawais/Osintgram/src/Osintgram.py", line 1125, in login on_login=lambda x: self.onlogin_callback(x, settings_file)) File "/home/kbawais/Osintgram/venv/lib/python3.7/site-packages/instagram_private_api/client.py", line 208, in init self.login() File "/home/kbawais/Osintgram/venv/lib/python3.7/site-packages/instagram_private_api/endpoints/accounts.py", line 50, in login 'accounts/login/', params=login_params, return_response=True) File "/home/kbawais/Osintgram/venv/lib/python3.7/site-packages/instagram_private_api/client.py", line 527, in _call_api ErrorHandler.process(e, error_response) File "/home/kbawais/Osintgram/venv/lib/python3.7/site-packages/instagram_private_api/errors.py", line 125, in process error_response=json.dumps(error_obj) instagram_private_api.errors.ClientCheckpointRequiredError: checkpoint_challenge_required

ghost commented 2 years ago

got a solution yet?

LinuxDiff commented 2 years ago

Just do

pip install instagram_private_api

KingMughal1 commented 2 years ago

Now I am getting another issue, Just an FYI I removed and installed Osintgram

Traceback (most recent call last): File "main.py", line 3, in from src.Osintgram import Osintgram File "/home/Awais/Osintgram/src/Osintgram.py", line 1102 print(f'Unable to find file: {settings_file!s}') ^ SyntaxError: invalid syntax

Datalux commented 2 years ago

Python version used?

KingMughal1 commented 2 years ago

The python version is 3.5.3, I also installed python3-pip but wasn't able to find the version.

image

image

jaygee562 commented 2 years ago

try to go to instagram from the same pc you are Osintgram, login and solve any captcha or fill out your 2FA.

jaygee562 commented 2 years ago

at the bottom of your log file is states "challenge" so I can assume you need to challenge your captcha or 2FA through instagram

madhva1106 commented 2 years ago

now i get the error like this Traceback (most recent call last): File "/home/madhavpurohit/Osintgram/main.py", line 3, in from src.Osintgram import Osintgram File "/home/madhavpurohit/Osintgram/src/Osintgram.py", line 47 init self.login(u, p) ^ IndentationError: unindent does not match any outer indentation level