DarkCat09 / python-aternos

[UNMAINTAINED] Unofficial Aternos API written in Python
https://pypi.org/project/python-aternos/
Apache License 2.0
92 stars 13 forks source link

Refactoring #75

Closed DarkCat09 closed 7 months ago

DarkCat09 commented 1 year ago
Emeteil commented 1 year ago

image Perhaps the problem is with me personally, but I have this error both on the server and on the main PC. Perhaps the parsing libraries are outdated. Maybe I'm in a hurry, and not everything is finished yet. Then I apologize.

MedCodeHack commented 1 year ago

image Perhaps the problem is with me personally, but I have this error both on the server and on the main PC. Perhaps the parsing libraries are outdated. Maybe I'm in a hurry, and not everything is finished yet. Then I apologize.

I have the same error i tried to reinstall the library so the library is updated but still got the same error!

Varo1234 commented 1 year ago

With the new files you uploaded, I got this error now, I didn't use the library from pip, I downloaded your files and used them.

image

By the way, thank you very much for supporting and updating the library.

DarkCat09 commented 1 year ago

@Emeteil, @MedCodeHack, @Varo1234,

Please, wait for v3.0.0 release. I know, the problem still exists for now.

DarkCat09 commented 1 year ago

@Emeteil, @MedCodeHack, @Varo1234,

it works! https://github.com/DarkCat09/python-aternos/issues/74#issuecomment-1566727458

Varo1234 commented 1 year ago

Your account has been permanently suspended.

Reason: Automating access to our website (TOS §5.2e)

only 5 hours after updating the bot

:(

Miloldr commented 1 year ago

Im curious how do they detect that? My first suspection was that some guys reports that to aternos but i don't think so..

Emeteil commented 1 year ago

Your account has been permanently suspended.

Reason: Automating access to our website (TOS §5.2e)

only 5 hours after updating the bot

:(

I have the same. On all 3 accounts (2 were connected to the python script, and 3 just had access to all servers). Strange though, since I only ran two servers at the same time once after updating the library. I take it aternos changed the authorization link on purpose to ban accounts. Sad, but we knew what we were doing using unofficial API :)

DarkCat09 commented 1 year ago

Im curious how do they detect that? My first suspection was that some guys reports that to aternos but i don't think so..

@Varo1234, @Emeteil, @Miloldr,

I think they detect it by unusual requests, some Python-specific headers/cookies, or library bugs in generating tokens...
It would be great if you could help with checking original JavaScript code and updating python-aternos.

Supslike commented 1 year ago

any update on the progress?

DarkCat09 commented 1 year ago

any update on the progress?

@Supslike, maybe tomorrow... I'll try to fix detection of automated requests, and then continue code refactoring and APIs updating.