toutatis icon indicating copy to clipboard operation
toutatis copied to clipboard

Update core.py

Open CodeWithHusain opened this issue 3 months ago • 2 comments

The code assumes that the infos dictionary always contains the key total_igtv_videos. probably no IGTV videos, so that key is missing and Avoid the KeyError.

CodeWithHusain avatar Sep 28 '25 12:09 CodeWithHusain

@CodeWithHusain has the code worked for u now? dont we need the sessionID for the acc rather than our own? how do we do that?

giaapillai avatar Sep 28 '25 14:09 giaapillai

i found an issue with this core.py it was not working on termux, and i fixed it.

~/toutatis $ toutatis -u hackerzfx -s 44762232340 Informations about : hackerzfx userID : 44762232340 Traceback (most recent call last): File "/data/data/com.termux/files/usr/bin/toutatis", line 33, in sys.exit(load_entry_point('toutatis==1.31', 'console_scripts', 'toutatis')()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/toutatis/core.py", line 115, in main print("Full Name : " + infos["full_name"]) ~~~~~^^^^^^^^^^^^^ KeyError: 'full_name' core.py

hackerzfx avatar Nov 20 '25 06:11 hackerzfx