Skip to content

Commit

Permalink
fix: 修复憨憨站点数据统计数据(做种数,做种体积)
Browse files Browse the repository at this point in the history
  • Loading branch information
Teddy-Zhu authored and hsuyelin committed Sep 1, 2023
1 parent 6077296 commit 25f409b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/sites/siteuserinfo/nexus_php.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ def _parse_user_torrent_seeding_info(self, html_text, multi_page=False):

# 是否存在下页数据
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
Expand Down

0 comments on commit 25f409b

Please sign in to comment.