megadose / toutatis

Toutatis is a tool that allows you to extract information from instagrams accounts such as e-mails, phone numbers and more
GNU General Public License v3.0
1.9k stars 237 forks source link

JSONDecodeError #103

Closed JacouilleLaFripouille closed 2 months ago

JacouilleLaFripouille commented 4 months ago

I have this issue:

Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/models.py", line 910, in json return complexjson.loads(self.text, **kwargs) File "/usr/lib/python3/dist-packages/simplejson/init.py", line 525, in loads return _default_decoder.decode(s) File "/usr/lib/python3/dist-packages/simplejson/decoder.py", line 370, in decode obj, end = self.raw_decode(s) File "/usr/lib/python3/dist-packages/simplejson/decoder.py", line 400, in raw_decode return self.scan_once(s, idx=_w(s, idx).end()) simplejson.errors.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/usr/local/bin/toutatis", line 33, in sys.exit(load_entry_point('toutatis==1.26', 'console_scripts', 'toutatis')()) File "/usr/local/lib/python3.10/dist-packages/toutatis-1.26-py3.10.egg/toutatis/core.py", line 84, in main File "/usr/local/lib/python3.10/dist-packages/toutatis-1.26-py3.10.egg/toutatis/core.py", line 32, in getInfo File "/usr/local/lib/python3.10/dist-packages/toutatis-1.26-py3.10.egg/toutatis/core.py", line 25, in getUserId File "/usr/lib/python3/dist-packages/requests/models.py", line 917, in json raise RequestsJSONDecodeError(e.msg, e.doc, e.pos) requests.exceptions.JSONDecodeError: [Errno Expecting value] : 0

Anyone can help me ?

lee-har commented 4 months ago

I had a similar issue to you, and I fixed it. Try this: sudo pip uninstall toutatis rm -rf toutatis git clone https://github.com/programerr01/toutatis.git cd toutatis sudo python3 setup.py install cd toutatis toutatis -u USERNAME -s SESSIONID

Roohnoor commented 3 months ago

I had a similar issue to you, and I fixed it. Try this: sudo pip uninstall toutatis rm -rf toutatis git clone https://github.com/programerr01/toutatis.git cd toutatis sudo python3 setup.py install cd toutatis toutatis -u USERNAME -s SESSIONID

Screenshot_2024-05-30_15-56-37 now tell me what to do

megadose commented 2 months ago

https://github.com/megadose/toutatis/commit/22a59c0984fd17d5e01cdb57669ec527b2c6b3d5