Corrected commit "Bugfixes in Client, Cloudflare page example"

This commit is contained in:
DarkCat09 2022-07-26 10:14:26 +04:00
parent 3c972c83f0
commit e171da578b

View file

@ -193,11 +193,7 @@ class Client:
serverstree = lxml.html.fromstring(serverspage.content) serverstree = lxml.html.fromstring(serverspage.content)
servers = serverstree.xpath( servers = serverstree.xpath(
<<<<<<< HEAD
'/html/body/div[1]/main/div[3]/section/div[1]/div[2]/div'
=======
'//div[@class="servers"]/div' '//div[@class="servers"]/div'
>>>>>>> f731f1b (Bugfixes in Client, Cloudflare page example)
'/div[@class="server-body"]/@data-id' '/div[@class="server-body"]/@data-id'
) )
self.refresh_servers(servers) self.refresh_servers(servers)