支持朱雀

This commit is contained in:
ngfchl
2022-12-26 21:23:58 +08:00
parent 5827bc72a6
commit 3a6e7b9ac8
3 changed files with 235 additions and 10 deletions

83
pt.json
View File

@@ -4823,10 +4823,10 @@
"pk": 70,
"fields": {
"created_at": "2022-07-17T10:24:59.754",
"updated_at": "2022-12-25T21:43:37.324",
"updated_at": "2022-12-26T21:22:48.257",
"url": "https://pt.btschool.club/",
"name": "BT学校",
"logo": "https://pt.btschool.club/favicon.ico",
"logo": "https://gitee.com/ngfchl/ptools/raw/master/static/logo/btschool.ico",
"tracker": "btschool.club",
"sign_in_support": true,
"get_torrent_support": true,
@@ -6714,6 +6714,85 @@
"hash_rule": "//td/b[contains(text(),\"Hash\")]/following::text()[1]"
}
},
{
"model": "pt_site.site",
"pk": 99,
"fields": {
"created_at": "2022-12-26T19:45:08.010",
"updated_at": "2022-12-26T21:23:16.550",
"url": "https://zhuque.in/",
"name": "朱雀",
"logo": "https://gitee.com/ngfchl/ptools/raw/master/static/logo/zhuque.png",
"tracker": "tracker.zhuque.in",
"sign_in_support": false,
"get_torrent_support": true,
"get_userinfo_support": true,
"search_support": false,
"page_default": "torrents.php",
"page_sign_in": "attendance.php",
"page_control_panel": "user/setting",
"page_detail": "details.php?id={}",
"page_download": "download.php?id={}",
"page_user": "api/user/getInfo?id={}",
"page_search": "torrents.php?search={}",
"page_leeching": "getusertorrentlistajax.php?userid={}&type=leeching",
"page_uploaded": "getusertorrentlistajax.php?userid={}&type=uploaded",
"page_seeding": "getusertorrentlistajax.php?userid={}&type=seeding",
"page_completed": "getusertorrentlistajax.php?userid={}&type=completed",
"page_mybonus": "api/user/getBonusCalc",
"page_viewfilelist": "viewfilelist.php?id={}",
"page_viewpeerlist": "viewpeerlist.php?id={}",
"sign_in_method": "get",
"sign_in_captcha": false,
"sign_in_params": "{}",
"sign_in_headers": "{}",
"hr": false,
"hr_rate": 2,
"hr_time": 10,
"sp_full": 100.0,
"limit_speed": 100,
"torrents_rule": "//table[@class=\"torrents\"]/tr",
"name_rule": ".//td[@class=\"embedded\"]/a/b/text()",
"title_rule": ".//a[contains(@href,\"detail\")]/parent::td/text()[last()]",
"detail_url_rule": ".//td[@class=\"embedded\"]/a[contains(@href,\"detail\")]/@href",
"category_rule": ".//td[@class=\"rowfollow nowrap\"][1]/a[1]/img/@title",
"poster_rule": ".//table/tr/td[1]/img/@src",
"magnet_url_rule": ".//td/a[contains(@href,\"download.php?id=\")]/@href",
"download_url_rule": ".//a[contains(@href,\"download.php?id=\") and contains(@href,\"passkey\")]/@href",
"size_rule": ".//td[5]/text()",
"hr_rule": ".//table/tr/td/img[@class=\"hitandrun\"]/@title",
"sale_rule": ".//img[contains(@class,\"free\")]/@alt",
"sale_expire_rule": ".//img[contains(@class,\"free\")]/following-sibling::font/span/@title",
"release_rule": ".//td[4]/span/@title",
"seeders_rule": ".//a[contains(@href,\"#seeders\")]/text()",
"leechers_rule": ".//a[contains(@href,\"#leechers\")]/text()",
"completers_rule": ".//a[contains(@href,\"viewsnatches\")]//text()",
"viewfilelist_rule": ".//td/text()",
"viewpeerlist_rule": ".//tr/td[9]/nobr/text()",
"peer_speed_rule": ".//tr/td[7]/nobr/text()",
"remark": "",
"invitation_rule": "invite",
"time_join_rule": "regTime",
"latest_active_rule": "//td[contains(text(),\"最近动向\")]/following-sibling::td/span/@title",
"uploaded_rule": "upload",
"downloaded_rule": "download",
"ratio_rule": "ratio",
"my_sp_rule": "bonus",
"hour_sp_rule": "sp_hour",
"my_bonus_rule": "//font[@class=\"color_bonus\" and contains(text(),\"积分\")]/following-sibling::text()[1]",
"my_level_rule": "class/name",
"my_passkey_rule": "//td[contains(text(),\"密钥\")]/following-sibling::td[1]/text()",
"my_uid_rule": "id",
"my_hr_rule": "//a[@href=\"myhr.php\"]//text()",
"leech_rule": "leeching",
"seed_rule": "seeding",
"record_count_rule": ".//td[3]/text()",
"seed_vol_rule": "seedSize",
"mailbox_rule": "mail",
"notice_rule": "//a[@href=\"index.php\"]/font[contains(text(),\"条\")]/text()[1]",
"hash_rule": "//td/b[contains(text(),\"Hash\")]/following::text()[1]"
}
},
{
"model": "auto_pt.task",
"pk": 1,