From cd9d6e89900b5c3da4339f78504baf54d14bacb4 Mon Sep 17 00:00:00 2001 From: ngfchl Date: Thu, 9 Mar 2023 10:03:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=81=86=E9=9F=B3=E5=81=9A?= =?UTF-8?q?=E7=A7=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pt_site/UtilityTool.py | 1 + pt_site_site.json | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pt_site/UtilityTool.py b/pt_site/UtilityTool.py index 83f54c1..7aa47d5 100644 --- a/pt_site/UtilityTool.py +++ b/pt_site/UtilityTool.py @@ -1929,6 +1929,7 @@ class PtSpider: 'https://pt.2xfree.org/', 'http://www.oshen.win/', 'https://sharkpt.net/', + 'https://pt.soulvoice.club/', ]: # 获取到的是整段,需要解析 logger.info('做种体积:{}'.format(seed_vol_list)) diff --git a/pt_site_site.json b/pt_site_site.json index 90db8dd..e8a0a0c 100644 --- a/pt_site_site.json +++ b/pt_site_site.json @@ -1636,7 +1636,7 @@ { "id": 24, "created_at": "2022-07-20 11:27:42.866000", - "updated_at": "2023-02-21 15:54:43.823356", + "updated_at": "2023-03-09 09:56:10.662261", "name": "聆音", "url": "https://pt.soulvoice.club/", "logo": "https://pt.soulvoice.club/favicon.ico", @@ -1700,7 +1700,7 @@ "leech_rule": "//img[@class=\"arrowdown\"][1]/following-sibling::text()[1]", "seed_rule": "//img[@class=\"arrowup\"][1]/following-sibling::text()[1]", "record_count_rule": "/html/body/b/text()", - "seed_vol_rule": "//tr/td[3]", + "seed_vol_rule": "//p/preceding-sibling::text()[1]", "mailbox_rule": "//a[@href=\"messages.php\"]/font[contains(text(),\"条\")]/text()[1]", "hash_rule": "//tr[13]/td[2]/table/tbody/tr/td[1]/text()", "notice_rule": "//a[@href=\"index.php\"]/font[contains(text(),\"条\")]/text()[1]",