fix 只会统计憨憨种子信息第一页的bug

This commit is contained in:
falling
2024-04-19 20:11:28 +08:00
parent 3ab09983b6
commit f281ab753e

View File

@@ -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