WeaveAche / hanime-auto-coins-collector

Coin collector for hanime mobile app.
28 stars 17 forks source link

KeyError #9

Closed alphaiR22 closed 1 year ago

alphaiR22 commented 1 year ago

hi, im fairly new to programming and espetially python so this might be a stupid question, but im getting the following error message when i try to run the code:

Python 3.11.0 (main, Oct 24 2022, 18:26:48) [MSC v.1933 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license()" for more information.

Traceback (most recent call last): File "C:\Users\grafi\Desktop\hanime-auto-coins-collector-main\getcoins.py", line 117, in main() File "C:\Users\grafi\Desktop\hanime-auto-coins-collector-main\getcoins.py", line 97, in main info = login(s, hanime_email, hanime_password) File "C:\Users\grafi\Desktop\hanime-auto-coins-collector-main\getcoins.py", line 46, in login return getInfo(response.text) File "C:\Users\grafi\Desktop\hanime-auto-coins-collector-main\getcoins.py", line 54, in getInfo "session_token": received["session_token"], KeyError: 'session_token'

Help would be greatly appreciated