From 28cadf7a4bb4347c78363e0b5a92d072b6b1f0f3 Mon Sep 17 00:00:00 2001 From: ngfchl Date: Thu, 20 Apr 2023 09:33:18 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=20=E6=89=93=E8=83=B6?= =?UTF-8?q?=E5=81=9A=E7=A7=8D=E4=BD=93=E7=A7=AF=E8=8E=B7=E5=8F=96?= 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 fb97bd1..6829e3d 100644 --- a/pt_site/UtilityTool.py +++ b/pt_site/UtilityTool.py @@ -1980,6 +1980,7 @@ class PtSpider: 'http://www.oshen.win/', 'https://sharkpt.net/', 'https://pt.soulvoice.club/', + 'https://dajiao.cyou/', ]: # 获取到的是整段,需要解析 logger.info('做种体积:{}'.format(seed_vol_list)) diff --git a/pt_site_site.json b/pt_site_site.json index c7660fb..e67f078 100644 --- a/pt_site_site.json +++ b/pt_site_site.json @@ -7832,7 +7832,7 @@ { "id": 104, "created_at": "2023-04-19 23:04:25.787548", - "updated_at": "2023-04-19 23:14:04.555320", + "updated_at": "2023-04-20 09:31:54.129304", "name": "打胶", "url": "https://dajiao.cyou/", "logo": "https://dajiao.cyou/favicon.ico", @@ -7896,7 +7896,7 @@ "leech_rule": "//img[@class=\"arrowdown\"]/following-sibling::text()[1]", "seed_rule": "//img[@class=\"arrowup\"]/following-sibling::text()[1]", "record_count_rule": ".//td[3]/text()", - "seed_vol_rule": "//tr/td[3]", + "seed_vol_rule": "//p/preceding-sibling::div/div/text()[1]", "mailbox_rule": "//a[@href=\"messages.php\"]/font[contains(text(),\"条\")]/text()[1]", "hash_rule": "//td/b[contains(text(),\"Hash\")]/following::text()[1]", "notice_rule": "//a[@href=\"index.php\"]/font[contains(text(),\"条\")]/text()[1]",