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

Unable to parse lastStatus object #90

Open TechDudie opened 1 year ago

TechDudie commented 1 year ago

Python aternos hates me.

ive already seperately debugged my way through a few issues, after enabling autofetch, im getting an error about unable to parse lastStatus object. Went back into the code and set it up to save the webpage to file, and i can tell why the regex pattern is unable to match the lastStatus script: image That's basically most of it, probably its because of the UserAgent set my python aternos, im gonna try and change it and see if that fixes the problem

-TechnoDot

TechDudie commented 1 year ago

image

That appears to be the only occurence of the UserAgent string... is it even used???

image

TechDudie commented 1 year ago

idk if i did change the user agent header, i think i did image but it still doesnt work; im completely out of ideas

TechDudie commented 1 year ago

never mind image commenting these lines out created a new session, somehow fixing it

im still confused but at least it works

TechDudie commented 1 year ago

nevermind nevermind error back again image im just gonna comment those lines out and leave them commented

TechDudie commented 1 year ago

and aternos noticed all my requests and banned my account 🤣 welp cant do any more testing