1. 增加系统消息提醒功能,检测到新消息直接发送通知

2. 更新红豆饭个人信息获取规则
This commit is contained in:
ngfchl
2022-09-05 13:53:15 +08:00
parent fe2de810ff
commit f903ec78bc
5 changed files with 177 additions and 157 deletions

30
pt.json
View File

@@ -728,10 +728,10 @@
"pk": 10,
"fields": {
"created_at": "2022-07-20T10:07:13.505",
"updated_at": "2022-08-28T20:13:23.796",
"updated_at": "2022-09-05T13:48:54.105",
"url": "https://hdfans.org/",
"name": "红豆饭",
"logo": "favicon.ico",
"logo": "http://favicon.ico",
"sign_in_support": true,
"get_torrent_support": true,
"get_userinfo_support": true,
@@ -778,21 +778,21 @@
"viewpeerlist_rule": ".//tr/td[9]/nobr/text()",
"peer_speed_rule": ".//tr/td[5]/nobr/text()",
"remark": "",
"invitation_rule": "//table/tr[2]/td[2]/a/text()",
"time_join_rule": "//table/tr[4]/td[2]/span/@title",
"latest_active_rule": "//table/tr[5]/td[2]/span/@title",
"uploaded_rule": "//tr[8]/td[2]/table/tr[2]/td[1]/text()",
"downloaded_rule": "//tr[8]/td[2]//table/tr[2]/td[2]/text()",
"ratio_rule": "//tr[8]/td[2]/table/tr/td[1]/font/text()",
"my_sp_rule": "//tr[14]/td[2]/text()",
"hour_sp_rule": "//div[contains(text(),\"每小时\")]/text()[1]",
"my_bonus_rule": "//tr[15]/td[2]/text()",
"my_level_rule": "//tr/td/span/span/a/@class",
"my_hr_rule": "//table/tr[114]/td[2]/text()",
"invitation_rule": "//a[contains(@href,\"invite.php?id=\")]/following-sibling::text()[1]",
"time_join_rule": "//td[contains(text(),\"加入\")]/following-sibling::td[1]//span/@title",
"latest_active_rule": "//td[contains(text(),\"最近动向\")]/following-sibling::td[1]//span/@title",
"uploaded_rule": "//font[@class=\"color_uploaded\"]/following-sibling::text()[1]",
"downloaded_rule": "//font[@class=\"color_downloaded\"]/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]",
"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": "//span[@class=\"medium\"]/span[@class=\"nowrap\"][1]/a[contains(@class,\"_Name\")]/@class",
"my_hr_rule": "//a[@href=\"myhr.php\"]/text()",
"leech_rule": "//img[@class=\"arrowdown\"][1]/following-sibling::text()[1]",
"seed_rule": "/html/body/b/text()",
"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": "//tr/td[4]",
"mailbox_rule": "//a[@href=\"messages.php\"]/following-sibling::text()[1]",
"hash_rule": "//tr[13]/td[2]/table/tbody/tr/td[1]/text()"
}