Merge pull request #1526 from WangEdward/main

This commit is contained in:
jxxghp
2024-02-22 15:49:50 +08:00
committed by GitHub

View File

@ -24,7 +24,8 @@ class SiteUtils:
' or contains(@onclick, "logout")' ' or contains(@onclick, "logout")'
' or contains(@href, "usercp")]', ' or contains(@href, "usercp")]',
'//form[contains(@action, "logout")]', '//form[contains(@action, "logout")]',
'//div[@class="user-info-side"]' '//div[@class="user-info-side"]',
'//a[@id="myitem"]'
] ]
for xpath in xpaths: for xpath in xpaths:
if html.xpath(xpath): if html.xpath(xpath):