Closed wpw5152 closed 3 years ago
Attempt to login... Unable to find file: config/settings.json ClientCookieExpiredError/ClientLoginRequiredError: login_required Traceback (most recent call last): File "/home/me/Osintgram/src/Osintgram.py", line 1001, in login self.api = AppClient(auto_patch=True, authenticate=True, username=u, password=p, File "/home/me/.local/lib/python3.9/site-packages/instagram_private_api/client.py", line 207, in init raise ClientLoginRequiredError('login_required', code=400) instagram_private_api.errors.ClientLoginRequiredError: login_required
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/me/Osintgram/main.py", line 107, in
You need to create a setting file. Step 7 of installation:
Create in config folder the file: settings.json
and write the following string: "{}" without quotation marks
┌──(me㉿kali)-[~] └─$ mkdir config
┌──(me㉿kali)-[~] └─$ cd config
┌──(me㉿kali)-[~/config] └─$ cat > username.conf myusername ^C
┌──(me㉿kali)-[~/config] └─$ cat > pw.conf
mypassword ^C
And then what?? How can I successfully log in after using python3 main.py targetuser ?