完善 打胶做种体积获取

This commit is contained in:
ngfchl
2023-04-20 09:33:18 +08:00
parent 1f974072c3
commit 28cadf7a4b
2 changed files with 3 additions and 2 deletions

View File

@@ -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))

View File

@@ -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]",