From f89db36387b8115dec801da5f7728e08d5845995 Mon Sep 17 00:00:00 2001 From: ngfchl Date: Mon, 19 Sep 2022 19:48:34 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E9=82=80=E8=AF=B7=E8=B5=84?= =?UTF-8?q?=E6=A0=BC=E9=BB=98=E8=AE=A4=E8=A7=84=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pt_site/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pt_site/models.py b/pt_site/models.py index 348624b..ca61b5c 100644 --- a/pt_site/models.py +++ b/pt_site/models.py @@ -148,7 +148,7 @@ class Site(BaseEntity): # 状态信息XPath invitation_rule = models.CharField( verbose_name='邀请资格', - default='//a[contains(@href,"invite.php?id=")]/following-sibling::text()[1]', + default='//span/a[contains(@href,"invite.php?id=")]/following-sibling::text()[1]', max_length=128) time_join_rule = models.CharField( verbose_name='注册时间',