mirror of
https://github.com/ngfchl/ptools
synced 2023-07-10 13:41:22 +08:00
随鲨鱼界面更新代码
This commit is contained in:
24
pt.json
24
pt.json
@@ -5080,7 +5080,7 @@
|
||||
"created_at": "2022-10-04T11:19:33.274",
|
||||
"updated_at": "2023-01-08T10:26:36.974",
|
||||
"url": "https://pt.itzmx.com/",
|
||||
"name": "PT 分享站",
|
||||
"name": "PT分享站",
|
||||
"nickname": "itzmx",
|
||||
"logo": "https://pt.itzmx.com/favicon.ico",
|
||||
"tracker": "itzmx.com",
|
||||
@@ -6626,7 +6626,7 @@
|
||||
"pk": 89,
|
||||
"fields": {
|
||||
"created_at": "2022-12-20T08:27:01.381",
|
||||
"updated_at": "2023-01-08T10:26:37.044",
|
||||
"updated_at": "2023-01-16T12:38:01.286",
|
||||
"url": "https://sharkpt.net/",
|
||||
"name": "鲨鱼",
|
||||
"nickname": "sharkpt",
|
||||
@@ -6682,23 +6682,23 @@
|
||||
"viewpeerlist_rule": ".//tr/td[9]/nobr/text()",
|
||||
"peer_speed_rule": ".//tr/td[7]/nobr/text()",
|
||||
"remark": "",
|
||||
"invitation_rule": "//span/a[contains(@href,\"invite.php?id=\")]/following-sibling::text()[1]",
|
||||
"invitation_rule": "//div/a[contains(@href,\"invite.php?id=\")]/text()[1]",
|
||||
"time_join_rule": "//td[contains(text(),\"加入\")]/following-sibling::td/span/@title",
|
||||
"latest_active_rule": "//td[contains(text(),\"最近动向\")]/following-sibling::td/span/@title",
|
||||
"uploaded_rule": "//font[@class=\"color_uploaded\"]/following-sibling::text()[1]",
|
||||
"downloaded_rule": "//font[@class=\"color_downloaded\"]/following-sibling::text()[1]",
|
||||
"uploaded_rule": "//td/strong[text()=\"上传量\"]/following-sibling::text()[1]",
|
||||
"downloaded_rule": "//td/strong[text()=\"下载量\"]/following-sibling::text()[1]",
|
||||
"ratio_rule": "//font[@class=\"color_ratio\"][1]/following-sibling::text()[1]",
|
||||
"my_sp_rule": "//a[@href=\"mybonus.php\"]/following-sibling::text()[1]",
|
||||
"my_sp_rule": "//td[contains(text(),\"鲨币\")]/following-sibling::td/text()[1]",
|
||||
"hour_sp_rule": "//div[contains(text(),\"每小时能获取\")]/text()[1]",
|
||||
"my_bonus_rule": "//font[@class=\"color_bonus\" and contains(text(),\"积分\")]/following-sibling::text()[1]",
|
||||
"my_level_rule": "//table[@id=\"info_block\"]//span/a[contains(@class,\"_Name\") and contains(@href,\"userdetails.php?id=\")]/@class",
|
||||
"my_bonus_rule": "//td[contains(text(),\"做种积分\")]/following-sibling::td/text()[1]",
|
||||
"my_level_rule": "//div/span/a[contains(@class,\"_Name\") and contains(@href,\"userdetails.php?id=\")]/@class",
|
||||
"my_passkey_rule": "//td[contains(text(),\"密钥\")]/following-sibling::td[1]/text()",
|
||||
"my_uid_rule": "//table[@id=\"info_block\"]//span/a[contains(@class,\"_Name\") and contains(@href,\"userdetails.php?id=\")]/@href",
|
||||
"my_uid_rule": "//div/span/a[contains(@class,\"_Name\") and contains(@href,\"userdetails.php?id=\")]/@href",
|
||||
"my_hr_rule": "//a[@href=\"myhr.php\"]//text()",
|
||||
"leech_rule": "//img[@class=\"arrowdown\"]/following-sibling::text()[1]",
|
||||
"seed_rule": "//img[@class=\"arrowup\"]/following-sibling::text()[1]",
|
||||
"leech_rule": "//div[contains(text(),\"当前下载\")]/text()[1]",
|
||||
"seed_rule": "//div[contains(text(),\"当前上传\")]/text()[1]",
|
||||
"record_count_rule": ".//td[3]/text()",
|
||||
"seed_vol_rule": "//tr/td[4]",
|
||||
"seed_vol_rule": "//p/preceding-sibling::text()[1]",
|
||||
"mailbox_rule": "//a[@href=\"messages.php\"]/font[contains(text(),\"条\")]/text()[1]",
|
||||
"message_title": "//img[@alt=\"Unread\"]/parent::td/following-sibling::td/a[1]//text()",
|
||||
"notice_rule": "//a[@href=\"index.php\"]/font[contains(text(),\"条\")]/text()[1]",
|
||||
|
||||
@@ -1923,6 +1923,7 @@ class PtSpider:
|
||||
'https://azusa.wiki/',
|
||||
'https://pt.2xfree.org/',
|
||||
'http://www.oshen.win/',
|
||||
'https://sharkpt.net/',
|
||||
]:
|
||||
# 获取到的是整段,需要解析
|
||||
logger.info('做种体积:{}'.format(seed_vol_list))
|
||||
|
||||
@@ -4900,7 +4900,7 @@
|
||||
"id": 68,
|
||||
"created_at": "2022-10-04 11:19:33.274000",
|
||||
"updated_at": "2023-01-08 10:26:36.974607",
|
||||
"name": "PT 分享站",
|
||||
"name": "PT分享站",
|
||||
"url": "https://pt.itzmx.com/",
|
||||
"logo": "https://pt.itzmx.com/favicon.ico",
|
||||
"sign_in_support": 0,
|
||||
@@ -6393,7 +6393,7 @@
|
||||
{
|
||||
"id": 89,
|
||||
"created_at": "2022-12-20 08:27:01.381014",
|
||||
"updated_at": "2023-01-08 10:26:37.044816",
|
||||
"updated_at": "2023-01-16 12:38:01.286334",
|
||||
"name": "鲨鱼",
|
||||
"url": "https://sharkpt.net/",
|
||||
"logo": "https://sharkpt.net/favicon.ico",
|
||||
@@ -6443,26 +6443,26 @@
|
||||
"viewpeerlist_rule": ".//tr/td[9]/nobr/text()",
|
||||
"peer_speed_rule": ".//tr/td[7]/nobr/text()",
|
||||
"remark": "",
|
||||
"invitation_rule": "//span/a[contains(@href,\"invite.php?id=\")]/following-sibling::text()[1]",
|
||||
"invitation_rule": "//div/a[contains(@href,\"invite.php?id=\")]/text()[1]",
|
||||
"time_join_rule": "//td[contains(text(),\"加入\")]/following-sibling::td/span/@title",
|
||||
"latest_active_rule": "//td[contains(text(),\"最近动向\")]/following-sibling::td/span/@title",
|
||||
"uploaded_rule": "//font[@class=\"color_uploaded\"]/following-sibling::text()[1]",
|
||||
"downloaded_rule": "//font[@class=\"color_downloaded\"]/following-sibling::text()[1]",
|
||||
"uploaded_rule": "//td/strong[text()=\"上传量\"]/following-sibling::text()[1]",
|
||||
"downloaded_rule": "//td/strong[text()=\"下载量\"]/following-sibling::text()[1]",
|
||||
"ratio_rule": "//font[@class=\"color_ratio\"][1]/following-sibling::text()[1]",
|
||||
"my_sp_rule": "//a[@href=\"mybonus.php\"]/following-sibling::text()[1]",
|
||||
"my_sp_rule": "//td[contains(text(),\"鲨币\")]/following-sibling::td/text()[1]",
|
||||
"hour_sp_rule": "//div[contains(text(),\"每小时能获取\")]/text()[1]",
|
||||
"my_bonus_rule": "//font[@class=\"color_bonus\" and contains(text(),\"积分\")]/following-sibling::text()[1]",
|
||||
"my_level_rule": "//table[@id=\"info_block\"]//span/a[contains(@class,\"_Name\") and contains(@href,\"userdetails.php?id=\")]/@class",
|
||||
"my_bonus_rule": "//td[contains(text(),\"做种积分\")]/following-sibling::td/text()[1]",
|
||||
"my_level_rule": "//div/span/a[contains(@class,\"_Name\") and contains(@href,\"userdetails.php?id=\")]/@class",
|
||||
"my_hr_rule": "//a[@href=\"myhr.php\"]//text()",
|
||||
"leech_rule": "//img[@class=\"arrowdown\"]/following-sibling::text()[1]",
|
||||
"seed_rule": "//img[@class=\"arrowup\"]/following-sibling::text()[1]",
|
||||
"leech_rule": "//div[contains(text(),\"当前下载\")]/text()[1]",
|
||||
"seed_rule": "//div[contains(text(),\"当前上传\")]/text()[1]",
|
||||
"record_count_rule": ".//td[3]/text()",
|
||||
"seed_vol_rule": "//tr/td[4]",
|
||||
"seed_vol_rule": "//p/preceding-sibling::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]",
|
||||
"my_passkey_rule": "//td[contains(text(),\"密钥\")]/following-sibling::td[1]/text()",
|
||||
"my_uid_rule": "//table[@id=\"info_block\"]//span/a[contains(@class,\"_Name\") and contains(@href,\"userdetails.php?id=\")]/@href",
|
||||
"my_uid_rule": "//div/span/a[contains(@class,\"_Name\") and contains(@href,\"userdetails.php?id=\")]/@href",
|
||||
"page_control_panel": "usercp.php",
|
||||
"tracker": "tracker.sharkpt.net",
|
||||
"nickname": "sharkpt",
|
||||
|
||||
Reference in New Issue
Block a user