HellAmbro / Trading212API

Unofficial Trading212 API
MIT License
57 stars 27 forks source link

Script does not login automatically/ work at all #20

Closed bjornstevens closed 1 year ago

bjornstevens commented 1 year ago

I don't know if this script (example.py) still works, but I am stuck right now at the login screen/allow cookies screen. It shows the following page for about 2 seconds before then closing out and saying: afbeelding

afbeelding

I am running a brand new Ubuntu 20.04.5 LTS Using Python3.8.10

bjornstevens commented 1 year ago

And for what I am trying to achieve: trading with my demo account.

HellAmbro commented 1 year ago

Hi, thanks for contributing, it seems that T212 changed the class name of the cookies button, also the login button class name. I want to thank you again and inform you that the bug has been fixed. Update the package to the latest version from PyPi or clone this repo. For further support please feel free to contact me.

osaidz commented 1 year ago

Hi, I'm facing the same issue. Has T212 chnaged the class name again?

HellAmbro commented 1 year ago

Hi, I'm facing the same issue. Has T212 chnaged the class name again?

Yes, I've updated the API yesterday, try the latest version. I'm looking for a workaround to bypass this problem.