Merge pull request #1526 from WangEdward/main
This commit is contained in:
commit
585bcb924f
@ -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):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user