fix mteam

This commit is contained in:
jxxghp
2023-09-23 16:35:27 +08:00
parent f46bbf73ba
commit d490dadfdd

View File

@ -24,7 +24,7 @@ class SiteUtils:
' or contains(@href, "usercp")]',
'//form[contains(@action, "logout")]',
'//div[@class="user-info-side"]',
'//a[contains(@href, "/profile/detail/")]']
'//a[contains(text(), "退出")]']
for xpath in xpaths:
if html.xpath(xpath):
return True