Merge pull request #218 from falling/main

This commit is contained in:
jxxghp
2024-04-19 20:19:40 +08:00
committed by GitHub

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