solution made by https://github.com/DarkCat09/python-aternos/issues/42#issuecomment-1200433909
I think this problem is made by aternos update
This commit is contained in:
Forsteri123 2022-08-01 19:52:09 +08:00 committed by GitHub
parent a6ec9a1a0f
commit 210cab97cc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -193,8 +193,7 @@ class Client:
serverstree = lxml.html.fromstring(serverspage.content) serverstree = lxml.html.fromstring(serverspage.content)
servers = serverstree.xpath( servers = serverstree.xpath(
'//div[@class="servers"]/div' '//div[@class="server-body"]/@data-id'
'/div[@class="server-body"]/@data-id'
) )
self.refresh_servers(servers) self.refresh_servers(servers)