支持猫站签到、数据和种子

This commit is contained in:
ngfchl
2022-10-13 20:37:23 +08:00
parent 80c7d239fc
commit eaf50ab200
2 changed files with 44 additions and 44 deletions

View File

@@ -3726,24 +3726,24 @@
{
"id": 55,
"created_at": "2022-08-27 21:57:23.449000",
"updated_at": "2022-09-28 14:19:49.814000",
"updated_at": "2022-10-13 18:43:09.907150",
"name": "这是猫站",
"url": "https://pterclub.com/",
"logo": "https://pterclub.com/favicon.ico",
"sign_in_support": 1,
"get_torrent_support": 0,
"get_userinfo_support": 0,
"get_torrent_support": 1,
"get_userinfo_support": 1,
"search_support": 0,
"page_default": "torrents.php",
"page_sign_in": "attendance.php",
"page_detail": "details.php?id={}",
"page_download": "download.php?id={}",
"page_user": "userdetails.php?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_search": "torrents.php?tag_exclusive=&tag_internal=&t",
"page_leeching": "getusertorrentlist.php?do_ajax=1&userid={}&type=leeching",
"page_uploaded": "getusertorrentlist.php?do_ajax=1&userid={}&type=uploaded",
"page_seeding": "getusertorrentlist.php?do_ajax=1&userid={}&type=seeding",
"page_completed": "getusertorrentlist.php?do_ajax=1&userid={}&type=completed",
"page_mybonus": "mybonus.php",
"page_viewfilelist": "viewfilelist.php?id={}",
"page_viewpeerlist": "viewpeerlist.php?id={}",
@@ -3757,21 +3757,21 @@
"sp_full": 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",
"name_rule": ".//td[@class=\"embedded\"]//a[contains(@href,\"detail\")]/@title",
"title_rule": ".//td[@class=\"embedded\"]//a[contains(@href,\"detail\")]/parent::div/following-sibling::div/span[last()]/text()",
"detail_url_rule": ".//td[@class=\"embedded\"]/div//a[contains(@href,\"detail\")]/@href",
"category_rule": ".//td[@class=\"rowfollow nowrap\"][1]/a[1]/img/@class",
"poster_rule": ".//table/tr/td[1]/img/@src",
"magnet_url_rule": ".//td/a[contains(@href,\"download\")]/@href",
"download_url_rule": ".//a[contains(@href,\"download.php?id=\") and contains(@href,\"passkey\")]/@href",
"poster_rule": ".//td/img/@src",
"magnet_url_rule": ".//a[contains(@href,\"download.php?id=\")]/@href",
"download_url_rule": "//td[contains(text(),\"种子链接\")]/following::a[contains(@href,\"download.php?\") ][1]/@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",
"sale_expire_rule": ".//img[contains(@class,\"free\")]/following::b[1]/span/@title",
"release_rule": ".//td[4]/span/@title",
"seeders_rule": ".//td[6]/b/a/text()",
"leechers_rule": ".//td[7]/b/a/text()",
"completers_rule": ".//td[8]/a/b/text()",
"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[5]/nobr/text()",
@@ -3783,16 +3783,16 @@
"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]",
"hour_sp_rule": "//div[contains(text(),\"每小时能获取\")]/span[@class=\"user-var\"]/text()",
"my_bonus_rule": "//font[@class=\"color_bonus\" and contains(text(),\"积分\")]/following-sibling::text()[1]",
"my_level_rule": "//span[@class=\"medium\"]/span[@class=\"nowrap\"]/a[contains(@class,\"_Name\")]/@class",
"my_hr_rule": "//tr[14]/td[2]/a/text()",
"my_hr_rule": "//td[contains(text(),\"H&R\")]/following-sibling::td/text()",
"leech_rule": "//img[@class=\"arrowdown\"]/following-sibling::text()[1]",
"seed_rule": "//img[@class=\"arrowup\"]/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\"]/font[contains(text(),\"条\")]/text()[1]",
"hash_rule": "//tr[11]//td[@class=\"no_border_wide\"][2]/text()",
"hash_rule": "//td[contains(text(),\"hash\")]/text()",
"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": "//a[contains(@class,\"_Name\") and contains(@href,\"userdetails.php?id=\")]/@href",

44
pt.json
View File

@@ -3875,14 +3875,14 @@
"pk": 55,
"fields": {
"created_at": "2022-08-27T21:57:23.449",
"updated_at": "2022-09-28T14:19:49.814",
"updated_at": "2022-10-13T18:43:09.907",
"url": "https://pterclub.com/",
"name": "这是猫站",
"logo": "https://pterclub.com/favicon.ico",
"tracker": "pterclub.com",
"sign_in_support": true,
"get_torrent_support": false,
"get_userinfo_support": false,
"get_torrent_support": true,
"get_userinfo_support": true,
"search_support": false,
"page_default": "torrents.php",
"page_sign_in": "attendance.php",
@@ -3890,11 +3890,11 @@
"page_detail": "details.php?id={}",
"page_download": "download.php?id={}",
"page_user": "userdetails.php?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_search": "torrents.php?tag_exclusive=&tag_internal=&t",
"page_leeching": "getusertorrentlist.php?do_ajax=1&userid={}&type=leeching",
"page_uploaded": "getusertorrentlist.php?do_ajax=1&userid={}&type=uploaded",
"page_seeding": "getusertorrentlist.php?do_ajax=1&userid={}&type=seeding",
"page_completed": "getusertorrentlist.php?do_ajax=1&userid={}&type=completed",
"page_mybonus": "mybonus.php",
"page_viewfilelist": "viewfilelist.php?id={}",
"page_viewpeerlist": "viewpeerlist.php?id={}",
@@ -3908,21 +3908,21 @@
"sp_full": 0.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",
"name_rule": ".//td[@class=\"embedded\"]//a[contains(@href,\"detail\")]/@title",
"title_rule": ".//td[@class=\"embedded\"]//a[contains(@href,\"detail\")]/parent::div/following-sibling::div/span[last()]/text()",
"detail_url_rule": ".//td[@class=\"embedded\"]/div//a[contains(@href,\"detail\")]/@href",
"category_rule": ".//td[@class=\"rowfollow nowrap\"][1]/a[1]/img/@class",
"poster_rule": ".//table/tr/td[1]/img/@src",
"magnet_url_rule": ".//td/a[contains(@href,\"download\")]/@href",
"download_url_rule": ".//a[contains(@href,\"download.php?id=\") and contains(@href,\"passkey\")]/@href",
"poster_rule": ".//td/img/@src",
"magnet_url_rule": ".//a[contains(@href,\"download.php?id=\")]/@href",
"download_url_rule": "//td[contains(text(),\"种子链接\")]/following::a[contains(@href,\"download.php?\") ][1]/@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",
"sale_expire_rule": ".//img[contains(@class,\"free\")]/following::b[1]/span/@title",
"release_rule": ".//td[4]/span/@title",
"seeders_rule": ".//td[6]/b/a/text()",
"leechers_rule": ".//td[7]/b/a/text()",
"completers_rule": ".//td[8]/a/b/text()",
"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[5]/nobr/text()",
@@ -3934,19 +3934,19 @@
"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]",
"hour_sp_rule": "//div[contains(text(),\"每小时能获取\")]/span[@class=\"user-var\"]/text()",
"my_bonus_rule": "//font[@class=\"color_bonus\" and contains(text(),\"积分\")]/following-sibling::text()[1]",
"my_level_rule": "//span[@class=\"medium\"]/span[@class=\"nowrap\"]/a[contains(@class,\"_Name\")]/@class",
"my_passkey_rule": "//td[contains(text(),\"密钥\")]/following-sibling::td[1]/text()",
"my_uid_rule": "//a[contains(@class,\"_Name\") and contains(@href,\"userdetails.php?id=\")]/@href",
"my_hr_rule": "//tr[14]/td[2]/a/text()",
"my_hr_rule": "//td[contains(text(),\"H&R\")]/following-sibling::td/text()",
"leech_rule": "//img[@class=\"arrowdown\"]/following-sibling::text()[1]",
"seed_rule": "//img[@class=\"arrowup\"]/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\"]/font[contains(text(),\"条\")]/text()[1]",
"notice_rule": "//a[@href=\"index.php\"]/font[contains(text(),\"条\")]/text()[1]",
"hash_rule": "//tr[11]//td[@class=\"no_border_wide\"][2]/text()"
"hash_rule": "//td[contains(text(),\"hash\")]/text()"
}
},
{