toutatis icon indicating copy to clipboard operation
toutatis copied to clipboard

KeyError: 'user'

Open GreenAA opened this issue 10 months ago • 1 comments

Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in run_code File "C:\Users\777da\AppData\Local\Programs\Python\Python311\Scripts\toutatis.exe_main.py", line 7, in File "C:\Users\777da\AppData\Local\Programs\Python\Python311\Lib\site-packages\toutatis\core.py", line 85, in main if not infos["user"]: ~~~~~^^^^^^^^ KeyError: 'user'

GreenAA avatar Apr 11 '24 09:04 GreenAA

I dont have a solutions but i know the reason. In the source code btw because this package just really small package you can read it by your self there is a function that return two different map scheme based on whether request succesful or not. This is not really good practice, they creature shouldve use more proper error handling. I assume instagram disallow or maybe deprecating the api that this osint tools use. So yeah if that the case maybe there are no workarounds to use this packeage

mauljurassicia avatar Apr 11 '24 16:04 mauljurassicia

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

megadose avatar Jun 26 '24 08:06 megadose