From f281ab753edbe0488fa240703621a2a081d1dd77 Mon Sep 17 00:00:00 2001 From: falling Date: Fri, 19 Apr 2024 20:11:28 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E5=8F=AA=E4=BC=9A=E7=BB=9F=E8=AE=A1?= =?UTF-8?q?=E6=86=A8=E6=86=A8=E7=A7=8D=E5=AD=90=E4=BF=A1=E6=81=AF=E7=AC=AC?= =?UTF-8?q?=E4=B8=80=E9=A1=B5=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/sitestatistic/siteuserinfo/nexus_php.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/sitestatistic/siteuserinfo/nexus_php.py b/plugins/sitestatistic/siteuserinfo/nexus_php.py index 783f92b..e5efd06 100644 --- a/plugins/sitestatistic/siteuserinfo/nexus_php.py +++ b/plugins/sitestatistic/siteuserinfo/nexus_php.py @@ -217,7 +217,7 @@ class NexusPhpSiteUserInfo(ISiteUserInfo): # 是否存在下页数据 next_page = None - next_page_text = html.xpath('//a[contains(.//text(), "下一页") or contains(.//text(), "下一頁")]/@href') + next_page_text = html.xpath('//a[contains(.//text(), "下一页") or contains(.//text(), "下一頁") or contains(.//text(), ">")]/@href') if next_page_text: next_page = next_page_text[-1].strip() # fix up page url