diff --git a/app/utils/site.py b/app/utils/site.py index 6f27e5b8..b3a60740 100644 --- a/app/utils/site.py +++ b/app/utils/site.py @@ -24,7 +24,8 @@ class SiteUtils: ' or contains(@onclick, "logout")' ' or contains(@href, "usercp")]', '//form[contains(@action, "logout")]', - '//div[@class="user-info-side"]' + '//div[@class="user-info-side"]', + '//a[@id="myitem"]' ] for xpath in xpaths: if html.xpath(xpath):