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

KeyError: 'user' #100

Closed GreenAA closed 2 months ago

GreenAA commented 4 months ago

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'
mauljurassicia commented 4 months ago

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

megadose commented 2 months ago

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