Closed christiansgbass closed 4 years ago
Hi @christiansgesp, first of all when you create the settings.json
file you have to insert {} without "", you have to create a JSON object file (I edited the README to explain better this thing).
The second issue, is a problem of response decoding, fixed this in the #47 (v. 0.9). Can you try this version and give me a feedback if this is solved? Thank you!
Hi @Datalux still not working. I've tried to make it run from another machine and it's not working for me. This is what I get when trying to run the main.py file:
Attempt to login...
Traceback (most recent call last):
File "main.py", line 89, in <module>
api = Osintgram(args.id, args.file, args.json)
File "/root/Escritorio/Osintgram/src/Osintgram.py", line 34, in __init__
self.setTarget(target)
File "/root/Escritorio/Osintgram/src/Osintgram.py", line 40, in setTarget
user = self.get_user(target)
File "/root/Escritorio/Osintgram/src/Osintgram.py", line 952, in get_user
data = json.load(content)
File "/usr/lib/python3.5/json/__init__.py", line 268, in load
parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)
File "/usr/lib/python3.5/json/__init__.py", line 312, in loads
s.__class__.__name__))
TypeError: the JSON object must be str, not 'bytes'
You said if I could try v0.9 but still v0.8.
Hi @Datalux still not working. I've tried to make it run from another machine and it's not working for me. This is what I get when trying to run the main.py file:
Attempt to login... Traceback (most recent call last): File "main.py", line 89, in <module> api = Osintgram(args.id, args.file, args.json) File "/root/Escritorio/Osintgram/src/Osintgram.py", line 34, in __init__ self.setTarget(target) File "/root/Escritorio/Osintgram/src/Osintgram.py", line 40, in setTarget user = self.get_user(target) File "/root/Escritorio/Osintgram/src/Osintgram.py", line 952, in get_user data = json.load(content) File "/usr/lib/python3.5/json/__init__.py", line 268, in load parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw) File "/usr/lib/python3.5/json/__init__.py", line 312, in loads s.__class__.__name__)) TypeError: the JSON object must be str, not 'bytes'
You said if I could try v0.9 but still v0.8.
@christiansgesp v 0.9 is in development
branch: https://github.com/Datalux/Osintgram/tree/development
: @christiansgesp v 0.9 is in development branch: https://github.com/Datalux/Osintgram/tree/development
Okay @Datalux , if I use the development branch it works.
Traceback (most recent call last):
File "/home/suryaabishek/Desktop/Osintgram/main.py", line 3, in
Traceback (most recent call last): File "/home/suryaabishek/Desktop/Osintgram/main.py", line 3, in from src.Osintgram import Osintgram File "/home/suryaabishek/Desktop/Osintgram/src/Osintgram.py", line 9, in import requests ModuleNotFoundError: No module named 'requests'
I have same problem this @datalux please solution me
Install requests
using pip.
Traceback (most recent call last):
File "main.py", line 3, in
@Datalux now this problem please solution
Traceback (most recent call last):
File "/home/karim/Osintgram/main.py", line 3, in
Someone plz help me out regarding this error ClientError checkpoint_challenge_required (Code: 400, Response: {"message": "challenge_required", "challenge": {"url": "htt ps://i.instagram.com/challenge/AXHY4m1Dw5GdcxMWz4yEpAAU87L2myiRGs7V_yocLEYvG1pBCtpCcaZ0mwYCkGTbVmkNBDA/AfxMT4p7D10EZEAZVIR V3zfU-a02-bqx6132x9DRTq4y20xU1PK(KAyqlDmy_ZaimLEm7BOD2zlw/", "api_path": "/challenge/AXHY4m1Dw5Gdcxz4yEpAAU87L2myG7V yocLEYvG1pBCtpCcaZ@mwYCkGTbVmkN8DA/AfxMT4pJnDioE2EaIYGMV_3zfU-a02-bqxG1J2X9DRTq4y20xU1PKIKAyqlDmy_ZaimLEm7B0D2zw/", "hide webview header": true, "lock": true, "logout": false, "native_flow": true, "flow_render_type": 0, "status": "fail", "error
Attempt to login...
type": "checkpoint_challenge_required"})challenge_required: checkpoint_challenge_required Please follow this link to complete the challenge: https://i.instagram.com/challenge/AXHY4m1Dw5GdcxMWz4yEpAAU87L2myiRGs7V_y ocLEYVG1pBCtpCcaZ@mwYCkGTbVmkN8DA/AfxMT4pJnDioE2EaIYGMV_3zfU-a02-bqxG1J2x9DRTq4y20xU1PKlKAyqlDmy_ZaimLEm7BOD2zlw/
Hi, I've been following the steps and when I try to run the tool some issues appears.
When I created the folder config and the json file "/Osintgram/config/settings.json" you said to write inside the json file the following: "{}"
Well, if I write "{}" nothing happens but if I write {} without "", then I can see that the file has been written.
Writing "{}" shows me the following message:
Writing {} shows me:
And the JSON file in config folder appears written with a 1 line containing ids, uuids, and so on.
Don't know why the tool is not working. I have followed and done every step.
If it helps, I wrote my username without any @ or "", I mean Plain text and the same with my password (my account is private) and I'm trying to run the next command:
python3 main.py acdc
:D have a good day.