From 5a117e193bc9c1cded79db5543abe11869096d01 Mon Sep 17 00:00:00 2001 From: ngfchl Date: Mon, 28 Nov 2022 22:34:41 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=AF=E6=8C=81=E9=A3=9E=E5=A4=A9=E6=8B=89?= =?UTF-8?q?=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pt.json | 208 ++++++++++++++++++++--------------------- pt_site/UtilityTool.py | 66 +++++++++---- pt_site_site.json | 208 ++++++++++++++++++++--------------------- 3 files changed, 255 insertions(+), 227 deletions(-) diff --git a/pt.json b/pt.json index c4cff61..bf1cda0 100644 --- a/pt.json +++ b/pt.json @@ -4,7 +4,7 @@ "pk": 1, "fields": { "created_at": "2022-07-17T10:22:03.474", - "updated_at": "2022-11-25T18:39:57.238", + "updated_at": "2022-11-28T22:03:08.862", "url": "https://hdatmos.club/", "name": "阿童木", "logo": "https://hdatmos.club/favicon.ico", @@ -83,7 +83,7 @@ "pk": 2, "fields": { "created_at": "2022-07-17T10:24:21.376", - "updated_at": "2022-11-25T18:39:57.242", + "updated_at": "2022-11-28T22:03:08.868", "url": "https://piggo.me/", "name": "猪猪网", "logo": "https://piggo.me/favicon.ico", @@ -162,7 +162,7 @@ "pk": 5, "fields": { "created_at": "2022-07-17T10:27:30.380", - "updated_at": "2022-11-25T18:39:57.247", + "updated_at": "2022-11-28T22:03:08.873", "url": "https://1ptba.com/", "name": "1PT", "logo": "https://1ptba.com/favicon.ico", @@ -241,7 +241,7 @@ "pk": 8, "fields": { "created_at": "2022-07-20T10:05:03.493", - "updated_at": "2022-11-25T18:39:57.250", + "updated_at": "2022-11-28T22:03:08.878", "url": "https://carpt.net/", "name": "CarPT", "logo": "https://carpt.net/favicon.ico", @@ -320,7 +320,7 @@ "pk": 9, "fields": { "created_at": "2022-07-20T10:06:16.029", - "updated_at": "2022-11-25T18:39:57.254", + "updated_at": "2022-11-28T22:03:08.886", "url": "https://www.hdarea.co/", "name": "HDArea", "logo": "https://www.hdarea.co/favicon.ico", @@ -399,7 +399,7 @@ "pk": 10, "fields": { "created_at": "2022-07-20T10:07:13.505", - "updated_at": "2022-11-25T18:39:57.258", + "updated_at": "2022-11-28T22:03:08.891", "url": "https://hdfans.org/", "name": "红豆饭", "logo": "https://hdfans.org/favicon.ico", @@ -478,7 +478,7 @@ "pk": 11, "fields": { "created_at": "2022-07-20T10:08:12.726", - "updated_at": "2022-11-25T18:39:57.263", + "updated_at": "2022-11-28T22:03:08.895", "url": "https://hdsky.me/", "name": "天空", "logo": "https://hdsky.me/favicon.ico", @@ -557,7 +557,7 @@ "pk": 12, "fields": { "created_at": "2022-07-20T10:09:18.723", - "updated_at": "2022-11-25T18:39:57.266", + "updated_at": "2022-11-28T22:03:08.899", "url": "https://hdtime.org/", "name": "时光", "logo": "https://hdtime.org/favicon.ico", @@ -636,7 +636,7 @@ "pk": 13, "fields": { "created_at": "2022-07-20T10:09:59.938", - "updated_at": "2022-11-25T18:39:57.270", + "updated_at": "2022-11-28T22:03:08.902", "url": "https://hdzone.me/", "name": "Zone", "logo": "https://hdzone.me/favicon.ico", @@ -715,7 +715,7 @@ "pk": 14, "fields": { "created_at": "2022-07-20T10:11:12.180", - "updated_at": "2022-11-25T18:39:57.274", + "updated_at": "2022-11-28T22:03:08.906", "url": "https://wintersakura.net/", "name": "冬樱", "logo": "https://wintersakura.net/favicon.ico", @@ -794,7 +794,7 @@ "pk": 15, "fields": { "created_at": "2022-07-20T10:12:13.107", - "updated_at": "2022-11-25T18:39:57.279", + "updated_at": "2022-11-28T22:03:08.910", "url": "http://hdmayi.com/", "name": "蚂蚁", "logo": "http://hdmayi.com/favicon.ico", @@ -873,7 +873,7 @@ "pk": 16, "fields": { "created_at": "2022-07-20T10:13:15.407", - "updated_at": "2022-11-25T18:39:57.283", + "updated_at": "2022-11-28T22:03:08.915", "url": "https://pt.0ff.cc/", "name": "农场", "logo": "https://pt.0ff.cc/favicon.ico", @@ -952,7 +952,7 @@ "pk": 17, "fields": { "created_at": "2022-07-20T10:15:59.584", - "updated_at": "2022-11-25T18:39:57.287", + "updated_at": "2022-11-28T22:03:08.919", "url": "https://ptchina.org/", "name": "铂金学院", "logo": "https://ptchina.org/favicon.ico", @@ -1031,7 +1031,7 @@ "pk": 18, "fields": { "created_at": "2022-07-20T10:58:58.928", - "updated_at": "2022-11-25T18:39:57.292", + "updated_at": "2022-11-28T22:03:08.924", "url": "https://pt.msg.vg/", "name": "马杀鸡", "logo": "https://pt.msg.vg/favicon.ico", @@ -1110,7 +1110,7 @@ "pk": 19, "fields": { "created_at": "2022-07-20T11:03:57.583", - "updated_at": "2022-11-25T18:39:57.299", + "updated_at": "2022-11-28T22:03:08.929", "url": "https://www.pttime.org/", "name": "时间", "logo": "https://www.pttime.org/favicon.ico", @@ -1189,7 +1189,7 @@ "pk": 20, "fields": { "created_at": "2022-07-20T11:06:11.901", - "updated_at": "2022-11-25T18:39:57.303", + "updated_at": "2022-11-28T22:03:08.933", "url": "http://www.oshen.win/", "name": "欧申", "logo": "http://www.oshen.win/favicon.ico", @@ -1268,7 +1268,7 @@ "pk": 21, "fields": { "created_at": "2022-07-20T11:12:51.331", - "updated_at": "2022-11-25T18:39:57.307", + "updated_at": "2022-11-28T22:03:08.938", "url": "https://www.htpt.cc/", "name": "海棠", "logo": "https://www.htpt.cc/favicon.ico", @@ -1347,7 +1347,7 @@ "pk": 22, "fields": { "created_at": "2022-07-20T11:17:25.992", - "updated_at": "2022-11-25T18:39:57.312", + "updated_at": "2022-11-28T22:03:08.942", "url": "https://ptsbao.club/", "name": "烧包", "logo": "https://ptsbao.club/favicon.ico", @@ -1426,7 +1426,7 @@ "pk": 23, "fields": { "created_at": "2022-07-20T11:25:55.869", - "updated_at": "2022-11-25T18:39:57.315", + "updated_at": "2022-11-28T22:03:08.946", "url": "https://www.hitpt.com/", "name": "百川", "logo": "https://www.hitpt.com/favicon.ico", @@ -1505,7 +1505,7 @@ "pk": 24, "fields": { "created_at": "2022-07-20T11:27:42.866", - "updated_at": "2022-11-25T18:39:57.319", + "updated_at": "2022-11-28T22:03:08.950", "url": "https://pt.soulvoice.club/", "name": "聆音", "logo": "https://pt.soulvoice.club/favicon.ico", @@ -1584,7 +1584,7 @@ "pk": 25, "fields": { "created_at": "2022-07-20T11:28:54.234", - "updated_at": "2022-11-25T18:39:57.322", + "updated_at": "2022-11-28T22:03:08.954", "url": "https://www.beitai.pt/", "name": "备胎", "logo": "https://www.beitai.pt/favicon.ico", @@ -1663,7 +1663,7 @@ "pk": 26, "fields": { "created_at": "2022-07-20T23:48:14.437", - "updated_at": "2022-11-25T18:39:57.326", + "updated_at": "2022-11-28T22:03:08.960", "url": "https://audiences.me/", "name": "观众", "logo": "https://audiences.me/favicon.ico", @@ -1742,7 +1742,7 @@ "pk": 28, "fields": { "created_at": "2022-07-20T23:51:03.848", - "updated_at": "2022-11-25T18:39:57.330", + "updated_at": "2022-11-28T22:03:08.970", "url": "https://gainbound.net/", "name": "丐帮", "logo": "https://gainbound.net/favicon.ico", @@ -1821,7 +1821,7 @@ "pk": 29, "fields": { "created_at": "2022-07-20T23:51:54.709", - "updated_at": "2022-11-25T18:39:57.333", + "updated_at": "2022-11-28T22:03:08.978", "url": "https://www.haidan.video/", "name": "海胆", "logo": "https://www.haidan.video/public/pic/favicon.ico", @@ -1900,7 +1900,7 @@ "pk": 30, "fields": { "created_at": "2022-07-20T23:52:34.568", - "updated_at": "2022-11-25T18:39:57.336", + "updated_at": "2022-11-28T22:03:08.985", "url": "https://www.hddolby.com/", "name": "HD杜比", "logo": "https://gitee.com/ngfchl/icons/raw/master/pt_site/hddolby.ico", @@ -1979,7 +1979,7 @@ "pk": 31, "fields": { "created_at": "2022-07-20T23:53:30.271", - "updated_at": "2022-11-25T18:39:57.340", + "updated_at": "2022-11-28T22:03:08.991", "url": "https://www.hd.ai/", "name": "海带", "logo": "https://www.hd.ai/favicon.png", @@ -2058,7 +2058,7 @@ "pk": 32, "fields": { "created_at": "2022-07-20T23:55:26.251", - "updated_at": "2022-11-25T18:39:57.343", + "updated_at": "2022-11-28T22:03:08.996", "url": "https://kp.m-team.cc/", "name": "MTeam", "logo": "https://kp.m-team.cc/favicon.ico", @@ -2137,7 +2137,7 @@ "pk": 33, "fields": { "created_at": "2022-07-20T23:56:40.615", - "updated_at": "2022-11-25T18:39:57.347", + "updated_at": "2022-11-28T22:03:09.002", "url": "https://www.3wmg.com/", "name": "芒果", "logo": "https://www.3wmg.com/favicon.ico", @@ -2216,7 +2216,7 @@ "pk": 34, "fields": { "created_at": "2022-07-23T19:05:57.166", - "updated_at": "2022-11-25T18:39:57.350", + "updated_at": "2022-11-28T22:03:09.007", "url": "https://greatposterwall.com/", "name": "海豹GPW", "logo": "https://greatposterwall.com/favicon.ico", @@ -2295,7 +2295,7 @@ "pk": 35, "fields": { "created_at": "2022-07-23T19:10:24.853", - "updated_at": "2022-11-25T18:39:57.353", + "updated_at": "2022-11-28T22:03:09.012", "url": "https://club.hares.top/", "name": "白兔hares", "logo": "https://club.hares.top/favicon.ico", @@ -2374,7 +2374,7 @@ "pk": 36, "fields": { "created_at": "2022-07-27T12:59:12.234", - "updated_at": "2022-11-25T18:39:57.357", + "updated_at": "2022-11-28T22:03:09.017", "url": "https://www.nicept.net/", "name": "老师", "logo": "https://www.nicept.net/favicon.ico", @@ -2453,7 +2453,7 @@ "pk": 38, "fields": { "created_at": "2022-08-02T10:14:26.854", - "updated_at": "2022-11-25T18:39:57.360", + "updated_at": "2022-11-28T22:03:09.022", "url": "https://hdpt.xyz/", "name": "明教", "logo": "https://hdpt.xyz/favicon.ico", @@ -2532,7 +2532,7 @@ "pk": 39, "fields": { "created_at": "2022-08-12T23:29:07.033", - "updated_at": "2022-11-25T18:39:57.363", + "updated_at": "2022-11-28T22:03:09.026", "url": "https://pthome.net/", "name": "铂金家", "logo": "https://pthome.net/favicon.ico", @@ -2611,7 +2611,7 @@ "pk": 40, "fields": { "created_at": "2022-08-14T09:14:51.194", - "updated_at": "2022-11-25T18:39:57.366", + "updated_at": "2022-11-28T22:03:09.031", "url": "https://iptorrents.com/", "name": "ipt", "logo": "https://iptorrents.com/favicon.ico", @@ -2690,7 +2690,7 @@ "pk": 41, "fields": { "created_at": "2022-08-18T00:39:11.082", - "updated_at": "2022-11-25T18:39:57.370", + "updated_at": "2022-11-28T22:03:09.036", "url": "https://azusa.ru/", "name": "梓喵", "logo": "https://azusa.ru/favicon.ico", @@ -2769,7 +2769,7 @@ "pk": 42, "fields": { "created_at": "2022-08-18T00:46:55.688", - "updated_at": "2022-11-25T18:39:57.373", + "updated_at": "2022-11-28T22:03:09.042", "url": "https://hdcity.city/", "name": "HD城市", "logo": "https://hdcity.city/favicon.ico", @@ -2848,7 +2848,7 @@ "pk": 43, "fields": { "created_at": "2022-08-19T23:20:30.164", - "updated_at": "2022-11-25T18:39:57.377", + "updated_at": "2022-11-28T22:03:09.048", "url": "https://hdvideo.one/", "name": "HDVIDEO", "logo": "https://hdvideo.one/favicon.ico", @@ -2927,7 +2927,7 @@ "pk": 44, "fields": { "created_at": "2022-08-23T16:41:38.669", - "updated_at": "2022-11-25T18:39:57.381", + "updated_at": "2022-11-28T22:03:09.052", "url": "https://pt.keepfrds.com/", "name": "月月Frds", "logo": "https://pt.keepfrds.com/favicon.ico", @@ -3006,7 +3006,7 @@ "pk": 45, "fields": { "created_at": "2022-08-26T20:52:18.452", - "updated_at": "2022-11-25T18:39:57.384", + "updated_at": "2022-11-28T22:03:09.056", "url": "https://u2.dmhy.org/", "name": "U2", "logo": "https://u2.dmhy.org/favicon.ico", @@ -3085,7 +3085,7 @@ "pk": 46, "fields": { "created_at": "2022-08-26T20:53:50.259", - "updated_at": "2022-11-25T18:39:57.387", + "updated_at": "2022-11-28T22:03:09.060", "url": "https://totheglory.im/", "name": "TTG", "logo": "https://totheglory.im/favicon.ico", @@ -3164,7 +3164,7 @@ "pk": 47, "fields": { "created_at": "2022-08-26T20:54:35.357", - "updated_at": "2022-11-25T18:39:57.390", + "updated_at": "2022-11-28T22:03:09.064", "url": "https://discfan.net/", "name": "蝶粉", "logo": "https://discfan.net/favicon.ico", @@ -3243,7 +3243,7 @@ "pk": 48, "fields": { "created_at": "2022-08-26T20:55:42.110", - "updated_at": "2022-11-25T18:39:57.393", + "updated_at": "2022-11-28T22:03:09.068", "url": "https://www.joyhd.net/", "name": "joyhd", "logo": "https://www.joyhd.net/favicon.ico", @@ -3322,7 +3322,7 @@ "pk": 49, "fields": { "created_at": "2022-08-27T17:32:01.405", - "updated_at": "2022-11-25T18:39:57.397", + "updated_at": "2022-11-28T22:03:09.072", "url": "https://chdbits.co/", "name": "彩虹岛", "logo": "https://chdbits.co/favicon.ico", @@ -3401,7 +3401,7 @@ "pk": 50, "fields": { "created_at": "2022-08-27T17:36:00.453", - "updated_at": "2022-11-25T18:39:57.400", + "updated_at": "2022-11-28T22:03:09.075", "url": "https://pt.hdupt.com/", "name": "好多油", "logo": "https://pt.hdupt.com/favicon.ico", @@ -3480,7 +3480,7 @@ "pk": 51, "fields": { "created_at": "2022-08-27T17:43:57.903", - "updated_at": "2022-11-25T18:39:57.403", + "updated_at": "2022-11-28T22:03:09.080", "url": "https://ourbits.club/", "name": "我堡", "logo": "https://ourbits.club/favicon.ico", @@ -3559,7 +3559,7 @@ "pk": 52, "fields": { "created_at": "2022-08-27T18:16:09.224", - "updated_at": "2022-11-25T18:39:57.406", + "updated_at": "2022-11-28T22:03:09.085", "url": "https://hdhome.org/", "name": "家园", "logo": "https://hdhome.org/favicon.ico", @@ -3638,7 +3638,7 @@ "pk": 53, "fields": { "created_at": "2022-08-27T18:18:44.023", - "updated_at": "2022-11-25T18:39:57.409", + "updated_at": "2022-11-28T22:03:09.090", "url": "https://springsunday.net/", "name": "不可说", "logo": "https://springsunday.net/favicon.ico", @@ -3717,7 +3717,7 @@ "pk": 54, "fields": { "created_at": "2022-08-27T18:24:32.917", - "updated_at": "2022-11-25T18:39:57.413", + "updated_at": "2022-11-28T22:03:09.094", "url": "https://www.open.cd/", "name": "OpenCD", "logo": "https://www.open.cd/favicon.ico", @@ -3796,7 +3796,7 @@ "pk": 55, "fields": { "created_at": "2022-08-27T21:57:23.449", - "updated_at": "2022-11-25T18:39:57.416", + "updated_at": "2022-11-28T22:03:09.097", "url": "https://pterclub.com/", "name": "这是猫站", "logo": "https://pterclub.com/favicon.ico", @@ -3875,7 +3875,7 @@ "pk": 56, "fields": { "created_at": "2022-08-27T21:57:47.858", - "updated_at": "2022-11-25T18:39:57.419", + "updated_at": "2022-11-28T22:03:09.101", "url": "https://lemonhd.org/", "name": "柠檬", "logo": "https://lemonhd.org/favicon.ico", @@ -3954,7 +3954,7 @@ "pk": 57, "fields": { "created_at": "2022-08-27T21:58:11.379", - "updated_at": "2022-11-25T18:39:57.423", + "updated_at": "2022-11-28T22:03:09.105", "url": "https://nanyangpt.com/", "name": "南洋", "logo": "https://nanyangpt.com/favicon.ico", @@ -4033,7 +4033,7 @@ "pk": 58, "fields": { "created_at": "2022-09-03T00:08:20.078", - "updated_at": "2022-11-25T18:39:57.426", + "updated_at": "2022-11-28T22:03:09.108", "url": "https://pt.eastgame.org/", "name": "吐鲁番", "logo": "https://pt.eastgame.org/favicon.ico", @@ -4112,7 +4112,7 @@ "pk": 59, "fields": { "created_at": "2022-09-14T08:33:16.574", - "updated_at": "2022-11-25T18:39:57.429", + "updated_at": "2022-11-28T22:03:09.112", "url": "https://kamept.com/", "name": "KamePT", "logo": "https://kamept.com/favicon.ico", @@ -4191,7 +4191,7 @@ "pk": 62, "fields": { "created_at": "2022-07-27T13:01:11.697", - "updated_at": "2022-11-25T18:39:57.432", + "updated_at": "2022-11-28T22:03:09.115", "url": "http://avgv.cc/", "name": "艾薇", "logo": "http://avgv.cc/favicon.ico", @@ -4270,7 +4270,7 @@ "pk": 63, "fields": { "created_at": "2022-09-19T22:02:22.069", - "updated_at": "2022-11-25T18:39:57.436", + "updated_at": "2022-11-28T22:03:09.118", "url": "https://hhanclub.top/", "name": "憨憨", "logo": "https://hhanclub.top/favicon.ico", @@ -4349,7 +4349,7 @@ "pk": 64, "fields": { "created_at": "2022-10-04T10:55:26.478", - "updated_at": "2022-11-25T18:39:57.439", + "updated_at": "2022-11-28T22:03:09.123", "url": "https://hdchina.org/", "name": "瓷器", "logo": "https://hdchina.org/favicon.ico", @@ -4428,7 +4428,7 @@ "pk": 65, "fields": { "created_at": "2022-10-04T11:03:31.325", - "updated_at": "2022-11-25T18:39:57.442", + "updated_at": "2022-11-28T22:03:09.126", "url": "https://www.tjupt.org/", "name": "北洋园", "logo": "https://www.tjupt.org/favicon.ico", @@ -4507,7 +4507,7 @@ "pk": 66, "fields": { "created_at": "2022-10-04T11:08:01.927", - "updated_at": "2022-11-25T18:39:57.446", + "updated_at": "2022-11-28T22:03:09.130", "url": "https://ultrahd.net/", "name": "UltraHD", "logo": "https://ultrahd.net/favicon.ico", @@ -4586,7 +4586,7 @@ "pk": 67, "fields": { "created_at": "2022-10-04T11:18:37.790", - "updated_at": "2022-11-25T18:39:57.450", + "updated_at": "2022-11-28T22:03:09.133", "url": "http://pt.tu88.men/", "name": "TU88", "logo": "http://pt.tu88.men/favicon.ico", @@ -4665,7 +4665,7 @@ "pk": 68, "fields": { "created_at": "2022-10-04T11:19:33.274", - "updated_at": "2022-11-25T18:39:57.453", + "updated_at": "2022-11-28T22:03:09.136", "url": "https://pt.itzmx.com/", "name": "PT 分享站", "logo": "https://pt.itzmx.com/favicon.ico", @@ -4744,7 +4744,7 @@ "pk": 69, "fields": { "created_at": "2022-10-11T20:56:14.504", - "updated_at": "2022-11-25T18:39:57.457", + "updated_at": "2022-11-28T22:03:09.140", "url": "https://pt.hd4fans.org/", "name": "兽", "logo": "https://pt.hd4fans.org/favicon.ico", @@ -4823,7 +4823,7 @@ "pk": 70, "fields": { "created_at": "2022-07-17T10:24:59.754", - "updated_at": "2022-11-25T18:39:57.461", + "updated_at": "2022-11-28T22:03:09.144", "url": "https://pt.btschool.club/", "name": "BT学校", "logo": "https://pt.btschool.club/favicon.ico", @@ -4902,7 +4902,7 @@ "pk": 71, "fields": { "created_at": "2022-10-13T20:46:41.135", - "updated_at": "2022-11-25T18:39:57.466", + "updated_at": "2022-11-28T22:03:09.148", "url": "https://gamegamept.cn/", "name": "GGPT", "logo": "https://gamegamept.cn/favicon.ico", @@ -4981,14 +4981,14 @@ "pk": 72, "fields": { "created_at": "2022-10-13T21:12:00.102", - "updated_at": "2022-11-25T18:39:57.470", + "updated_at": "2022-11-28T22:31:46.140", "url": "https://nextpt.net/", "name": "飞天拉面", "logo": "https://nextpt.net/favicon.ico", "tracker": "creditracker", "sign_in_support": false, - "get_torrent_support": false, - "get_userinfo_support": false, + "get_torrent_support": true, + "get_userinfo_support": true, "search_support": false, "page_default": "Torrents?type=0&systematics=2&keyword=", "page_sign_in": "Users/me", @@ -5013,46 +5013,46 @@ "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", + "torrents_rule": "//table[@class=\"table table-bordered\"]//tr", + "name_rule": ".//td[3]//a[contains(@href,\"/Torrents/details?tid=\")]/text()", + "title_rule": ".//td[3]//a[contains(@href,\"/Torrents/details?tid=\")]/text()", + "detail_url_rule": ".//td/a[contains(@href,\"/Torrents/details?tid=\")]/@href", + "category_rule": ".//td[1]//a[contains(@href,\"/Torrents?type\")]/text()", "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()", + "magnet_url_rule": ".//a[contains(@href,\"download\") and contains(@href,\"passkey\")]/@href", + "download_url_rule": ".//a[contains(@href,\"download\") and contains(@href,\"passkey\")]/@href", + "size_rule": ".//td[7]//text()", "hr_rule": ".//table/tr/td/img[@class=\"hitandrun\"]/@title", - "sale_rule": ".//img[contains(@class,\"free\")]/@alt", + "sale_rule": ".//img[contains(@class,\"free\")]/@class", "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()", + "release_rule": ".//td[6]/span/@title", + "seeders_rule": ".//td[8]//text()", + "leechers_rule": ".//td[9]//text()", + "completers_rule": ".//td[10]//text()", "viewfilelist_rule": ".//td/text()", "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]", - "time_join_rule": "//td[contains(text(),\"加入\")]/following-sibling::td/span/@title", + "invitation_rule": "//ul/li[contains(text(),\"本月您总计可发送\")]/text()", + "time_join_rule": "//th[contains(text(),\"加入\")]/following-sibling::td/text()", "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]", - "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]", + "uploaded_rule": "//div//text[contains(text(),\"上传量\")]/following-sibling::text()", + "downloaded_rule": "//div//text[contains(text(),\"下载量\")]/following-sibling::text()", + "ratio_rule": "//div//text[contains(text(),\"分享率\")]/following-sibling::text()", + "my_sp_rule": "//a[@href=\"/Points\"]/following-sibling::text()[1]", + "hour_sp_rule": "//div//text[contains(text(),\"本月保种时\")]/following-sibling::text()", "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_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_level_rule": "//div/a[contains(@href,\"/Users/profile?uid=\")]/@class", + "my_passkey_rule": "//div[contains(text(),\"Passkey\")]/following-sibling::input/@value", + "my_uid_rule": "//div/a[contains(@href,\"/Users/profile?uid=\")]/@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//text[contains(text(),\"⇈\")]/following-sibling::text()", + "seed_rule": "//div//text[contains(text(),\"当前活动\")]/following-sibling::text()", "record_count_rule": ".//td[3]/text()", - "seed_vol_rule": "//tr/td[3]", + "seed_vol_rule": "//tr/td[6]", "mailbox_rule": "//a[@href=\"messages.php\"]/font[contains(text(),\"条\")]/text()[1]", "notice_rule": "//a[@href=\"index.php\"]/font[contains(text(),\"条\")]/text()[1]", - "hash_rule": "//td/b[contains(text(),\"Hash\")]/following::text()[1]" + "hash_rule": "//div/text[contains(text(),\"Hash\")]/text()[1]" } }, { @@ -5060,7 +5060,7 @@ "pk": 73, "fields": { "created_at": "2022-10-13T22:31:26.178", - "updated_at": "2022-11-25T18:39:57.474", + "updated_at": "2022-11-28T22:03:09.162", "url": "https://zmpt.cc/", "name": "织梦", "logo": "https://zmpt.cc/favicon.ico", @@ -5139,7 +5139,7 @@ "pk": 74, "fields": { "created_at": "2022-10-14T14:23:01.057", - "updated_at": "2022-11-25T18:39:57.477", + "updated_at": "2022-11-28T22:03:09.172", "url": "https://52pt.site/", "name": "52PT", "logo": "https://52pt.site/favicon.ico", @@ -5218,7 +5218,7 @@ "pk": 75, "fields": { "created_at": "2022-10-14T14:25:28.692", - "updated_at": "2022-11-25T18:39:57.481", + "updated_at": "2022-11-28T22:03:09.176", "url": "https://et8.org/", "name": "TCCF", "logo": "https://et8.org/favicon.ico", @@ -5297,7 +5297,7 @@ "pk": 76, "fields": { "created_at": "2022-10-15T20:49:44.721", - "updated_at": "2022-11-25T18:39:57.485", + "updated_at": "2022-11-28T22:03:09.182", "url": "https://srvfi.top/", "name": "SRVFI", "logo": "https://srvfi.top/favicon.ico", @@ -5376,7 +5376,7 @@ "pk": 77, "fields": { "created_at": "2022-10-17T07:42:57.547", - "updated_at": "2022-11-25T18:39:57.489", + "updated_at": "2022-11-28T22:03:09.189", "url": "https://www.icc2022.com/", "name": "ICC2022", "logo": "https://www.icc2022.com/favicon.ico", @@ -5455,7 +5455,7 @@ "pk": 78, "fields": { "created_at": "2022-10-21T18:14:12.349", - "updated_at": "2022-11-25T18:39:57.493", + "updated_at": "2022-11-28T22:03:09.196", "url": "https://ihdbits.me/", "name": "iHD", "logo": "https://ihdbits.me/favicon.ico", @@ -5534,7 +5534,7 @@ "pk": 79, "fields": { "created_at": "2022-11-01T00:06:06.053", - "updated_at": "2022-11-25T18:39:57.497", + "updated_at": "2022-11-28T22:03:09.202", "url": "http://leaves.red/", "name": "红叶", "logo": "http://leaves.red/favicon.ico", @@ -5613,7 +5613,7 @@ "pk": 81, "fields": { "created_at": "2022-11-04T23:06:38.778", - "updated_at": "2022-11-25T18:39:57.501", + "updated_at": "2022-11-28T22:03:09.208", "url": "https://www.dragonhd.xyz/", "name": "龙之家", "logo": "https://www.dragonhd.xyz/favicon.ico", @@ -5692,7 +5692,7 @@ "pk": 82, "fields": { "created_at": "2022-11-08T09:18:21.489", - "updated_at": "2022-11-25T18:39:57.505", + "updated_at": "2022-11-28T22:03:09.214", "url": "https://xinglin.one/", "name": "杏林", "logo": "https://xinglin.one/favicon.ico", @@ -5771,7 +5771,7 @@ "pk": 83, "fields": { "created_at": "2022-11-12T22:41:41.000", - "updated_at": "2022-11-25T18:39:57.509", + "updated_at": "2022-11-28T22:03:09.220", "url": "https://www.filept.com/", "name": "Filept", "logo": "https://www.filept.com/favicon.ico", @@ -5850,7 +5850,7 @@ "pk": 84, "fields": { "created_at": "2022-11-23T17:58:52.708", - "updated_at": "2022-11-25T18:39:57.513", + "updated_at": "2022-11-28T22:03:09.224", "url": "https://dicmusic.club/", "name": "海豚", "logo": "https://dicmusic.club/favicon.ico", diff --git a/pt_site/UtilityTool.py b/pt_site/UtilityTool.py index 40236a6..2a6e1ce 100644 --- a/pt_site/UtilityTool.py +++ b/pt_site/UtilityTool.py @@ -1149,7 +1149,7 @@ class PtSpider: def send_torrent_info_request(self, my_site: MySite): site = my_site.site url = site.url + site.page_default.lstrip('/') - # logger.info(url) + logger.info(f'种子页面链接:{url}') try: response = self.send_request(my_site, url) logger.info(site.name) @@ -1220,11 +1220,12 @@ class PtSpider: else: # response = self.send_request() trs = self.parse(response, site.torrents_rule) - # logger.info(response.text) + # logger.info(f'种子页面:{response.text}') # logger.info(trs) - # logger.info(len(trs)) + logger.info(len(trs)) + print('=' * 50) for tr in trs: - # logger.info(tr) + logger.info(tr) # logger.info(etree.tostring(tr)) sale_status = ''.join(tr.xpath(site.sale_rule)) logger.info('sale_status: {}'.format(sale_status)) @@ -1240,7 +1241,7 @@ class PtSpider: logger.info('无名无姓?跳过') continue # sale_status = ''.join(re.split(r'[^\x00-\xff]', sale_status)) - sale_status = sale_status.upper().replace( + sale_status = sale_status.replace('tStatus ', '').upper().replace( 'FREE', 'Free' ).replace('免费', 'Free').replace(' ', '') # # 下载链接,下载链接已存在则跳过 @@ -1400,7 +1401,7 @@ class PtSpider: # leeching_detail_url = site.url + site.page_leeching.lstrip('/').format(my_site.user_id) try: # 发送请求,做种信息与正在下载信息,个人主页 - user_detail_res = self.send_request(my_site=my_site, url=user_detail_url, timeout=25) + user_detail_res = self.send_request(my_site=my_site, url=user_detail_url) # if leeching_detail_res.status_code != 200: # return site.name + '种子下载信息获取错误,错误码:' + str(leeching_detail_res.status_code), False if user_detail_res.status_code != 200: @@ -1409,7 +1410,7 @@ class PtSpider: msg=site.name + '个人主页访问错误,错误码:' + str(user_detail_res.status_code) ) # logger.info(user_detail_res.status_code) - logger.info('个人主页:{}'.format(len(user_detail_res.content))) + logger.info('个人主页:{}'.format(user_detail_res.content.decode('utf-8'))) # 解析HTML # logger.info(user_detail_res.is_redirect) @@ -1505,7 +1506,7 @@ class PtSpider: # leeching_html = result.get('leeching_html') if 'greatposterwall' in site.url or 'dicmusic' in site.url: try: - print(details_html) + logger.info(details_html) if details_html.get('status') == 'success' and seeding_html.get('status') == 'success': seeding_response = seeding_html.get('response') mail_str = seeding_response.get("notifications").get("messages") @@ -1540,7 +1541,7 @@ class PtSpider: my_site.sp_hour = userdata.get('seedingBonusPointsPerHour') # if userdata.get('seedingBonusPointsPerHour') else 0 if 'dicmusic' in site.url: - print('海豚') + logger.info('海豚') """未取得授权前不开放本段代码,谨防ban号 bonus_res = self.send_request(my_site, url=site.url + site.page_seeding, timeout=15) sp_str = self.parse(bonus_res, '//h3[contains(text(),"总积分")]/text()') @@ -1589,7 +1590,9 @@ class PtSpider: seed_vol_size = ''.join(seed_vol_list).split(':')[-1].strip() seed_vol_all = FileSizeConvert.parse_2_byte(seed_vol_size) else: - if len(seed_vol_list) > 0: + if len(seed_vol_list) > 0 and site.url not in [ + 'https://nextpt.net/' + ]: seed_vol_list.pop(0) logger.info('做种数量seeding_vol:{}'.format(len(seed_vol_list))) # 做种体积 @@ -1620,7 +1623,9 @@ class PtSpider: # leech = self.get_user_torrent(leeching_html, site.leech_rule) # seed = self.get_user_torrent(seeding_html, site.seed_rule) leech = re.sub(r'\D', '', ''.join(details_html.xpath(site.leech_rule)).strip()) + logger.info(f'当前下载数:{leech}') seed = ''.join(details_html.xpath(site.seed_rule)).strip() + logger.info(f'当前做种数:{seed}') if not leech and not seed: return CommonResponse.error( status=StatusCodeEnum.WEB_CONNECT_ERR, @@ -1640,7 +1645,7 @@ class PtSpider: invitation = ''.join( details_html.xpath(site.invitation_rule) ).strip(']:').replace('[', '').strip() - logger.info(invitation) + logger.info(f'邀请:{invitation}') # invitation = re.sub("\D", "", invitation) # time_join_1 = ''.join( # details_html.xpath(site.time_join_rule) @@ -1660,7 +1665,7 @@ class PtSpider: # 去除字符串中的中文 my_level_1 = ''.join( details_html.xpath(site.my_level_rule) - ).replace('_Name', '').strip() + ).replace('_Name', '').replace('fontBold', '').strip() if 'city' in site.url: my_level = my_level_1.strip() # elif 'u2' in site.url: @@ -1704,13 +1709,15 @@ class PtSpider: invitation = converter.convert(invitation) # x = invitation.split('/') # invitation = re.sub('[\u4e00-\u9fa5]', '', invitation) - logger.info(invitation) + logger.info(f'当前获取邀请数:{invitation}') if invitation == '没有邀请资格': my_site.invitation = 0 elif '/' in invitation: invitation_list = [int(n) for n in invitation.split('/')] # my_site.invitation = int(invitation) if invitation else 0 my_site.invitation = sum(invitation_list) + elif not invitation: + my_site.invitation = 0 else: my_site.invitation = int(re.sub('\D', '', invitation)) my_site.latest_active = datetime.now() @@ -1718,7 +1725,7 @@ class PtSpider: if my_hr: my_site.my_hr = my_hr my_site.seed = int(get_decimals(seed)) if seed else 0 - logger.info(leech) + logger.info(f'当前下载数:{leech}') my_site.leech = int(get_decimals(leech)) if leech else 0 logger.info('站点:{}'.format(site)) @@ -1738,7 +1745,7 @@ class PtSpider: ratio = ''.join( details_html.xpath(site.ratio_rule) ).replace(',', '').replace('无限', 'inf').replace('∞', 'inf').replace('---', 'inf').strip( - ']:').strip() + ']:').strip(':').strip() # 分享率告警通知 logger.info('ratio:{}'.format(ratio)) if ratio and ratio != 'inf' and float(ratio) <= 1: @@ -1761,11 +1768,32 @@ class PtSpider: ) else: my_site.mail = 0 - res_sp_hour = self.get_hour_sp(my_site=my_site) - if res_sp_hour.code != StatusCodeEnum.OK.code: - logger.error(my_site.site.name + res_sp_hour.msg) + if site.url in [ + 'https://nextpt.net/', + ]: + # logger.info(site.hour_sp_rule) + res_sp_hour_list = details_html.xpath(site.hour_sp_rule) + # logger.info(details_html) + # logger.info(res_sp_hour_list) + res_sp_hour = ''.join(res_sp_hour_list) + my_site.sp_hour = get_decimals(res_sp_hour) + # 飞天邀请获取 + logger.info(f'邀请页面:{site.url}Invites') + res_next_pt_invite = self.send_request(my_site, f'{site.url}Invites') + logger.info(res_next_pt_invite.text) + str_next_pt_invite = ''.join(self.parse( + res_next_pt_invite, + site.invitation_rule)) + print(f'邀请字符串:{str_next_pt_invite}') + list_next_pt_invite = re.findall('\d+', str_next_pt_invite) + print(list_next_pt_invite) + my_site.invitation = int(list_next_pt_invite[0]) - int(list_next_pt_invite[1]) else: - my_site.sp_hour = res_sp_hour.data + res_sp_hour = self.get_hour_sp(my_site=my_site) + if res_sp_hour.code != StatusCodeEnum.OK.code: + logger.error(my_site.site.name + res_sp_hour.msg) + else: + my_site.sp_hour = res_sp_hour.data # 保存上传下载等信息 my_site.save() # 外键反向查询 diff --git a/pt_site_site.json b/pt_site_site.json index 5e6b24a..9e22bf0 100644 --- a/pt_site_site.json +++ b/pt_site_site.json @@ -2,7 +2,7 @@ { "id": 1, "created_at": "2022-07-17 10:22:03.474000", - "updated_at": "2022-11-25 18:39:57.238641", + "updated_at": "2022-11-28 22:03:08.862013", "name": "阿童木", "url": "https://hdatmos.club/", "logo": "https://hdatmos.club/favicon.ico", @@ -78,7 +78,7 @@ { "id": 2, "created_at": "2022-07-17 10:24:21.376000", - "updated_at": "2022-11-25 18:39:57.242645", + "updated_at": "2022-11-28 22:03:08.868537", "name": "猪猪网", "url": "https://piggo.me/", "logo": "https://piggo.me/favicon.ico", @@ -154,7 +154,7 @@ { "id": 5, "created_at": "2022-07-17 10:27:30.380000", - "updated_at": "2022-11-25 18:39:57.247124", + "updated_at": "2022-11-28 22:03:08.873193", "name": "1PT", "url": "https://1ptba.com/", "logo": "https://1ptba.com/favicon.ico", @@ -230,7 +230,7 @@ { "id": 8, "created_at": "2022-07-20 10:05:03.493000", - "updated_at": "2022-11-25 18:39:57.250701", + "updated_at": "2022-11-28 22:03:08.878450", "name": "CarPT", "url": "https://carpt.net/", "logo": "https://carpt.net/favicon.ico", @@ -306,7 +306,7 @@ { "id": 9, "created_at": "2022-07-20 10:06:16.029000", - "updated_at": "2022-11-25 18:39:57.254618", + "updated_at": "2022-11-28 22:03:08.886320", "name": "HDArea", "url": "https://www.hdarea.co/", "logo": "https://www.hdarea.co/favicon.ico", @@ -382,7 +382,7 @@ { "id": 10, "created_at": "2022-07-20 10:07:13.505000", - "updated_at": "2022-11-25 18:39:57.258752", + "updated_at": "2022-11-28 22:03:08.891727", "name": "红豆饭", "url": "https://hdfans.org/", "logo": "https://hdfans.org/favicon.ico", @@ -458,7 +458,7 @@ { "id": 11, "created_at": "2022-07-20 10:08:12.726000", - "updated_at": "2022-11-25 18:39:57.263226", + "updated_at": "2022-11-28 22:03:08.895937", "name": "天空", "url": "https://hdsky.me/", "logo": "https://hdsky.me/favicon.ico", @@ -534,7 +534,7 @@ { "id": 12, "created_at": "2022-07-20 10:09:18.723000", - "updated_at": "2022-11-25 18:39:57.266670", + "updated_at": "2022-11-28 22:03:08.899444", "name": "时光", "url": "https://hdtime.org/", "logo": "https://hdtime.org/favicon.ico", @@ -610,7 +610,7 @@ { "id": 13, "created_at": "2022-07-20 10:09:59.938000", - "updated_at": "2022-11-25 18:39:57.270194", + "updated_at": "2022-11-28 22:03:08.902527", "name": "Zone", "url": "https://hdzone.me/", "logo": "https://hdzone.me/favicon.ico", @@ -686,7 +686,7 @@ { "id": 14, "created_at": "2022-07-20 10:11:12.180000", - "updated_at": "2022-11-25 18:39:57.274085", + "updated_at": "2022-11-28 22:03:08.906448", "name": "冬樱", "url": "https://wintersakura.net/", "logo": "https://wintersakura.net/favicon.ico", @@ -762,7 +762,7 @@ { "id": 15, "created_at": "2022-07-20 10:12:13.107000", - "updated_at": "2022-11-25 18:39:57.279594", + "updated_at": "2022-11-28 22:03:08.910335", "name": "蚂蚁", "url": "http://hdmayi.com/", "logo": "http://hdmayi.com/favicon.ico", @@ -838,7 +838,7 @@ { "id": 16, "created_at": "2022-07-20 10:13:15.407000", - "updated_at": "2022-11-25 18:39:57.283055", + "updated_at": "2022-11-28 22:03:08.915339", "name": "农场", "url": "https://pt.0ff.cc/", "logo": "https://pt.0ff.cc/favicon.ico", @@ -914,7 +914,7 @@ { "id": 17, "created_at": "2022-07-20 10:15:59.584000", - "updated_at": "2022-11-25 18:39:57.287342", + "updated_at": "2022-11-28 22:03:08.919345", "name": "铂金学院", "url": "https://ptchina.org/", "logo": "https://ptchina.org/favicon.ico", @@ -990,7 +990,7 @@ { "id": 18, "created_at": "2022-07-20 10:58:58.928000", - "updated_at": "2022-11-25 18:39:57.292997", + "updated_at": "2022-11-28 22:03:08.924530", "name": "马杀鸡", "url": "https://pt.msg.vg/", "logo": "https://pt.msg.vg/favicon.ico", @@ -1066,7 +1066,7 @@ { "id": 19, "created_at": "2022-07-20 11:03:57.583000", - "updated_at": "2022-11-25 18:39:57.299060", + "updated_at": "2022-11-28 22:03:08.929591", "name": "时间", "url": "https://www.pttime.org/", "logo": "https://www.pttime.org/favicon.ico", @@ -1142,7 +1142,7 @@ { "id": 20, "created_at": "2022-07-20 11:06:11.901000", - "updated_at": "2022-11-25 18:39:57.303569", + "updated_at": "2022-11-28 22:03:08.933920", "name": "欧申", "url": "http://www.oshen.win/", "logo": "http://www.oshen.win/favicon.ico", @@ -1218,7 +1218,7 @@ { "id": 21, "created_at": "2022-07-20 11:12:51.331000", - "updated_at": "2022-11-25 18:39:57.307590", + "updated_at": "2022-11-28 22:03:08.938427", "name": "海棠", "url": "https://www.htpt.cc/", "logo": "https://www.htpt.cc/favicon.ico", @@ -1294,7 +1294,7 @@ { "id": 22, "created_at": "2022-07-20 11:17:25.992000", - "updated_at": "2022-11-25 18:39:57.312264", + "updated_at": "2022-11-28 22:03:08.942335", "name": "烧包", "url": "https://ptsbao.club/", "logo": "https://ptsbao.club/favicon.ico", @@ -1370,7 +1370,7 @@ { "id": 23, "created_at": "2022-07-20 11:25:55.869000", - "updated_at": "2022-11-25 18:39:57.315916", + "updated_at": "2022-11-28 22:03:08.946699", "name": "百川", "url": "https://www.hitpt.com/", "logo": "https://www.hitpt.com/favicon.ico", @@ -1446,7 +1446,7 @@ { "id": 24, "created_at": "2022-07-20 11:27:42.866000", - "updated_at": "2022-11-25 18:39:57.319532", + "updated_at": "2022-11-28 22:03:08.950134", "name": "聆音", "url": "https://pt.soulvoice.club/", "logo": "https://pt.soulvoice.club/favicon.ico", @@ -1522,7 +1522,7 @@ { "id": 25, "created_at": "2022-07-20 11:28:54.234000", - "updated_at": "2022-11-25 18:39:57.322761", + "updated_at": "2022-11-28 22:03:08.954699", "name": "备胎", "url": "https://www.beitai.pt/", "logo": "https://www.beitai.pt/favicon.ico", @@ -1598,7 +1598,7 @@ { "id": 26, "created_at": "2022-07-20 23:48:14.437000", - "updated_at": "2022-11-25 18:39:57.326129", + "updated_at": "2022-11-28 22:03:08.960247", "name": "观众", "url": "https://audiences.me/", "logo": "https://audiences.me/favicon.ico", @@ -1674,7 +1674,7 @@ { "id": 28, "created_at": "2022-07-20 23:51:03.848000", - "updated_at": "2022-11-25 18:39:57.330177", + "updated_at": "2022-11-28 22:03:08.970488", "name": "丐帮", "url": "https://gainbound.net/", "logo": "https://gainbound.net/favicon.ico", @@ -1750,7 +1750,7 @@ { "id": 29, "created_at": "2022-07-20 23:51:54.709000", - "updated_at": "2022-11-25 18:39:57.333020", + "updated_at": "2022-11-28 22:03:08.978843", "name": "海胆", "url": "https://www.haidan.video/", "logo": "https://www.haidan.video/public/pic/favicon.ico", @@ -1826,7 +1826,7 @@ { "id": 30, "created_at": "2022-07-20 23:52:34.568000", - "updated_at": "2022-11-25 18:39:57.336638", + "updated_at": "2022-11-28 22:03:08.985749", "name": "HD杜比", "url": "https://www.hddolby.com/", "logo": "https://gitee.com/ngfchl/icons/raw/master/pt_site/hddolby.ico", @@ -1902,7 +1902,7 @@ { "id": 31, "created_at": "2022-07-20 23:53:30.271000", - "updated_at": "2022-11-25 18:39:57.340365", + "updated_at": "2022-11-28 22:03:08.991621", "name": "海带", "url": "https://www.hd.ai/", "logo": "https://www.hd.ai/favicon.png", @@ -1978,7 +1978,7 @@ { "id": 32, "created_at": "2022-07-20 23:55:26.251000", - "updated_at": "2022-11-25 18:39:57.343313", + "updated_at": "2022-11-28 22:03:08.996805", "name": "MTeam", "url": "https://kp.m-team.cc/", "logo": "https://kp.m-team.cc/favicon.ico", @@ -2054,7 +2054,7 @@ { "id": 33, "created_at": "2022-07-20 23:56:40.615000", - "updated_at": "2022-11-25 18:39:57.347212", + "updated_at": "2022-11-28 22:03:09.002553", "name": "芒果", "url": "https://www.3wmg.com/", "logo": "https://www.3wmg.com/favicon.ico", @@ -2130,7 +2130,7 @@ { "id": 34, "created_at": "2022-07-23 19:05:57.166000", - "updated_at": "2022-11-25 18:39:57.350410", + "updated_at": "2022-11-28 22:03:09.007769", "name": "海豹GPW", "url": "https://greatposterwall.com/", "logo": "https://greatposterwall.com/favicon.ico", @@ -2206,7 +2206,7 @@ { "id": 35, "created_at": "2022-07-23 19:10:24.853000", - "updated_at": "2022-11-25 18:39:57.353870", + "updated_at": "2022-11-28 22:03:09.012370", "name": "白兔hares", "url": "https://club.hares.top/", "logo": "https://club.hares.top/favicon.ico", @@ -2282,7 +2282,7 @@ { "id": 36, "created_at": "2022-07-27 12:59:12.234000", - "updated_at": "2022-11-25 18:39:57.357137", + "updated_at": "2022-11-28 22:03:09.017707", "name": "老师", "url": "https://www.nicept.net/", "logo": "https://www.nicept.net/favicon.ico", @@ -2358,7 +2358,7 @@ { "id": 38, "created_at": "2022-08-02 10:14:26.854000", - "updated_at": "2022-11-25 18:39:57.360126", + "updated_at": "2022-11-28 22:03:09.022866", "name": "明教", "url": "https://hdpt.xyz/", "logo": "https://hdpt.xyz/favicon.ico", @@ -2434,7 +2434,7 @@ { "id": 39, "created_at": "2022-08-12 23:29:07.033000", - "updated_at": "2022-11-25 18:39:57.363910", + "updated_at": "2022-11-28 22:03:09.026925", "name": "铂金家", "url": "https://pthome.net/", "logo": "https://pthome.net/favicon.ico", @@ -2510,7 +2510,7 @@ { "id": 40, "created_at": "2022-08-14 09:14:51.194000", - "updated_at": "2022-11-25 18:39:57.366790", + "updated_at": "2022-11-28 22:03:09.031317", "name": "ipt", "url": "https://iptorrents.com/", "logo": "https://iptorrents.com/favicon.ico", @@ -2586,7 +2586,7 @@ { "id": 41, "created_at": "2022-08-18 00:39:11.082000", - "updated_at": "2022-11-25 18:39:57.370164", + "updated_at": "2022-11-28 22:03:09.036161", "name": "梓喵", "url": "https://azusa.ru/", "logo": "https://azusa.ru/favicon.ico", @@ -2662,7 +2662,7 @@ { "id": 42, "created_at": "2022-08-18 00:46:55.688000", - "updated_at": "2022-11-25 18:39:57.373661", + "updated_at": "2022-11-28 22:03:09.042231", "name": "HD城市", "url": "https://hdcity.city/", "logo": "https://hdcity.city/favicon.ico", @@ -2738,7 +2738,7 @@ { "id": 43, "created_at": "2022-08-19 23:20:30.164000", - "updated_at": "2022-11-25 18:39:57.377386", + "updated_at": "2022-11-28 22:03:09.048206", "name": "HDVIDEO", "url": "https://hdvideo.one/", "logo": "https://hdvideo.one/favicon.ico", @@ -2814,7 +2814,7 @@ { "id": 44, "created_at": "2022-08-23 16:41:38.669000", - "updated_at": "2022-11-25 18:39:57.381276", + "updated_at": "2022-11-28 22:03:09.052073", "name": "月月Frds", "url": "https://pt.keepfrds.com/", "logo": "https://pt.keepfrds.com/favicon.ico", @@ -2890,7 +2890,7 @@ { "id": 45, "created_at": "2022-08-26 20:52:18.452000", - "updated_at": "2022-11-25 18:39:57.384179", + "updated_at": "2022-11-28 22:03:09.056267", "name": "U2", "url": "https://u2.dmhy.org/", "logo": "https://u2.dmhy.org/favicon.ico", @@ -2966,7 +2966,7 @@ { "id": 46, "created_at": "2022-08-26 20:53:50.259000", - "updated_at": "2022-11-25 18:39:57.387633", + "updated_at": "2022-11-28 22:03:09.060069", "name": "TTG", "url": "https://totheglory.im/", "logo": "https://totheglory.im/favicon.ico", @@ -3042,7 +3042,7 @@ { "id": 47, "created_at": "2022-08-26 20:54:35.357000", - "updated_at": "2022-11-25 18:39:57.390687", + "updated_at": "2022-11-28 22:03:09.064966", "name": "蝶粉", "url": "https://discfan.net/", "logo": "https://discfan.net/favicon.ico", @@ -3118,7 +3118,7 @@ { "id": 48, "created_at": "2022-08-26 20:55:42.110000", - "updated_at": "2022-11-25 18:39:57.393822", + "updated_at": "2022-11-28 22:03:09.068115", "name": "joyhd", "url": "https://www.joyhd.net/", "logo": "https://www.joyhd.net/favicon.ico", @@ -3194,7 +3194,7 @@ { "id": 49, "created_at": "2022-08-27 17:32:01.405000", - "updated_at": "2022-11-25 18:39:57.397414", + "updated_at": "2022-11-28 22:03:09.072085", "name": "彩虹岛", "url": "https://chdbits.co/", "logo": "https://chdbits.co/favicon.ico", @@ -3270,7 +3270,7 @@ { "id": 50, "created_at": "2022-08-27 17:36:00.453000", - "updated_at": "2022-11-25 18:39:57.400284", + "updated_at": "2022-11-28 22:03:09.075774", "name": "好多油", "url": "https://pt.hdupt.com/", "logo": "https://pt.hdupt.com/favicon.ico", @@ -3346,7 +3346,7 @@ { "id": 51, "created_at": "2022-08-27 17:43:57.903000", - "updated_at": "2022-11-25 18:39:57.403750", + "updated_at": "2022-11-28 22:03:09.080705", "name": "我堡", "url": "https://ourbits.club/", "logo": "https://ourbits.club/favicon.ico", @@ -3422,7 +3422,7 @@ { "id": 52, "created_at": "2022-08-27 18:16:09.224000", - "updated_at": "2022-11-25 18:39:57.406781", + "updated_at": "2022-11-28 22:03:09.085369", "name": "家园", "url": "https://hdhome.org/", "logo": "https://hdhome.org/favicon.ico", @@ -3498,7 +3498,7 @@ { "id": 53, "created_at": "2022-08-27 18:18:44.023000", - "updated_at": "2022-11-25 18:39:57.409691", + "updated_at": "2022-11-28 22:03:09.090469", "name": "不可说", "url": "https://springsunday.net/", "logo": "https://springsunday.net/favicon.ico", @@ -3574,7 +3574,7 @@ { "id": 54, "created_at": "2022-08-27 18:24:32.917000", - "updated_at": "2022-11-25 18:39:57.413543", + "updated_at": "2022-11-28 22:03:09.094357", "name": "OpenCD", "url": "https://www.open.cd/", "logo": "https://www.open.cd/favicon.ico", @@ -3650,7 +3650,7 @@ { "id": 55, "created_at": "2022-08-27 21:57:23.449000", - "updated_at": "2022-11-25 18:39:57.416260", + "updated_at": "2022-11-28 22:03:09.097752", "name": "这是猫站", "url": "https://pterclub.com/", "logo": "https://pterclub.com/favicon.ico", @@ -3726,7 +3726,7 @@ { "id": 56, "created_at": "2022-08-27 21:57:47.858000", - "updated_at": "2022-11-25 18:39:57.419876", + "updated_at": "2022-11-28 22:03:09.101144", "name": "柠檬", "url": "https://lemonhd.org/", "logo": "https://lemonhd.org/favicon.ico", @@ -3802,7 +3802,7 @@ { "id": 57, "created_at": "2022-08-27 21:58:11.379000", - "updated_at": "2022-11-25 18:39:57.423419", + "updated_at": "2022-11-28 22:03:09.105441", "name": "南洋", "url": "https://nanyangpt.com/", "logo": "https://nanyangpt.com/favicon.ico", @@ -3878,7 +3878,7 @@ { "id": 58, "created_at": "2022-09-03 00:08:20.078000", - "updated_at": "2022-11-25 18:39:57.426294", + "updated_at": "2022-11-28 22:03:09.108631", "name": "吐鲁番", "url": "https://pt.eastgame.org/", "logo": "https://pt.eastgame.org/favicon.ico", @@ -3954,7 +3954,7 @@ { "id": 59, "created_at": "2022-09-14 08:33:16.574000", - "updated_at": "2022-11-25 18:39:57.429912", + "updated_at": "2022-11-28 22:03:09.112234", "name": "KamePT", "url": "https://kamept.com/", "logo": "https://kamept.com/favicon.ico", @@ -4030,7 +4030,7 @@ { "id": 62, "created_at": "2022-07-27 13:01:11.697000", - "updated_at": "2022-11-25 18:39:57.432856", + "updated_at": "2022-11-28 22:03:09.115532", "name": "艾薇", "url": "http://avgv.cc/", "logo": "http://avgv.cc/favicon.ico", @@ -4106,7 +4106,7 @@ { "id": 63, "created_at": "2022-09-19 22:02:22.069000", - "updated_at": "2022-11-25 18:39:57.436298", + "updated_at": "2022-11-28 22:03:09.118970", "name": "憨憨", "url": "https://hhanclub.top/", "logo": "https://hhanclub.top/favicon.ico", @@ -4182,7 +4182,7 @@ { "id": 64, "created_at": "2022-10-04 10:55:26.478000", - "updated_at": "2022-11-25 18:39:57.439661", + "updated_at": "2022-11-28 22:03:09.123061", "name": "瓷器", "url": "https://hdchina.org/", "logo": "https://hdchina.org/favicon.ico", @@ -4258,7 +4258,7 @@ { "id": 65, "created_at": "2022-10-04 11:03:31.325000", - "updated_at": "2022-11-25 18:39:57.442787", + "updated_at": "2022-11-28 22:03:09.126356", "name": "北洋园", "url": "https://www.tjupt.org/", "logo": "https://www.tjupt.org/favicon.ico", @@ -4334,7 +4334,7 @@ { "id": 66, "created_at": "2022-10-04 11:08:01.927000", - "updated_at": "2022-11-25 18:39:57.446861", + "updated_at": "2022-11-28 22:03:09.130312", "name": "UltraHD", "url": "https://ultrahd.net/", "logo": "https://ultrahd.net/favicon.ico", @@ -4410,7 +4410,7 @@ { "id": 67, "created_at": "2022-10-04 11:18:37.790000", - "updated_at": "2022-11-25 18:39:57.450217", + "updated_at": "2022-11-28 22:03:09.133339", "name": "TU88", "url": "http://pt.tu88.men/", "logo": "http://pt.tu88.men/favicon.ico", @@ -4486,7 +4486,7 @@ { "id": 68, "created_at": "2022-10-04 11:19:33.274000", - "updated_at": "2022-11-25 18:39:57.453795", + "updated_at": "2022-11-28 22:03:09.136529", "name": "PT 分享站", "url": "https://pt.itzmx.com/", "logo": "https://pt.itzmx.com/favicon.ico", @@ -4562,7 +4562,7 @@ { "id": 69, "created_at": "2022-10-11 20:56:14.504000", - "updated_at": "2022-11-25 18:39:57.457574", + "updated_at": "2022-11-28 22:03:09.140684", "name": "兽", "url": "https://pt.hd4fans.org/", "logo": "https://pt.hd4fans.org/favicon.ico", @@ -4638,7 +4638,7 @@ { "id": 70, "created_at": "2022-07-17 10:24:59.754000", - "updated_at": "2022-11-25 18:39:57.461704", + "updated_at": "2022-11-28 22:03:09.144594", "name": "BT学校", "url": "https://pt.btschool.club/", "logo": "https://pt.btschool.club/favicon.ico", @@ -4714,7 +4714,7 @@ { "id": 71, "created_at": "2022-10-13 20:46:41.135391", - "updated_at": "2022-11-25 18:39:57.466461", + "updated_at": "2022-11-28 22:03:09.148061", "name": "GGPT", "url": "https://gamegamept.cn/", "logo": "https://gamegamept.cn/favicon.ico", @@ -4790,13 +4790,13 @@ { "id": 72, "created_at": "2022-10-13 21:12:00.102150", - "updated_at": "2022-11-25 18:39:57.470793", + "updated_at": "2022-11-28 22:31:46.140843", "name": "飞天拉面", "url": "https://nextpt.net/", "logo": "https://nextpt.net/favicon.ico", "sign_in_support": 0, - "get_torrent_support": 0, - "get_userinfo_support": 0, + "get_torrent_support": 1, + "get_userinfo_support": 1, "search_support": 0, "page_default": "Torrents?type=0&systematics=2&keyword=", "page_sign_in": "Users/me", @@ -4820,53 +4820,53 @@ "hr_time": 10, "sp_full": 100, "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", + "torrents_rule": "//table[@class=\"table table-bordered\"]//tr", + "name_rule": ".//td[3]//a[contains(@href,\"/Torrents/details?tid=\")]/text()", + "title_rule": ".//td[3]//a[contains(@href,\"/Torrents/details?tid=\")]/text()", + "detail_url_rule": ".//td/a[contains(@href,\"/Torrents/details?tid=\")]/@href", + "category_rule": ".//td[1]//a[contains(@href,\"/Torrents?type\")]/text()", "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()", + "magnet_url_rule": ".//a[contains(@href,\"download\") and contains(@href,\"passkey\")]/@href", + "download_url_rule": ".//a[contains(@href,\"download\") and contains(@href,\"passkey\")]/@href", + "size_rule": ".//td[7]//text()", "hr_rule": ".//table/tr/td/img[@class=\"hitandrun\"]/@title", - "sale_rule": ".//img[contains(@class,\"free\")]/@alt", + "sale_rule": ".//img[contains(@class,\"free\")]/@class", "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()", + "release_rule": ".//td[6]/span/@title", + "seeders_rule": ".//td[8]//text()", + "leechers_rule": ".//td[9]//text()", + "completers_rule": ".//td[10]//text()", "viewfilelist_rule": ".//td/text()", "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]", - "time_join_rule": "//td[contains(text(),\"加入\")]/following-sibling::td/span/@title", + "invitation_rule": "//ul/li[contains(text(),\"本月您总计可发送\")]/text()", + "time_join_rule": "//th[contains(text(),\"加入\")]/following-sibling::td/text()", "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]", - "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]", + "uploaded_rule": "//div//text[contains(text(),\"上传量\")]/following-sibling::text()", + "downloaded_rule": "//div//text[contains(text(),\"下载量\")]/following-sibling::text()", + "ratio_rule": "//div//text[contains(text(),\"分享率\")]/following-sibling::text()", + "my_sp_rule": "//a[@href=\"/Points\"]/following-sibling::text()[1]", + "hour_sp_rule": "//div//text[contains(text(),\"本月保种时\")]/following-sibling::text()", "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_level_rule": "//div/a[contains(@href,\"/Users/profile?uid=\")]/@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//text[contains(text(),\"⇈\")]/following-sibling::text()", + "seed_rule": "//div//text[contains(text(),\"当前活动\")]/following-sibling::text()", "record_count_rule": ".//td[3]/text()", - "seed_vol_rule": "//tr/td[3]", + "seed_vol_rule": "//tr/td[6]", "mailbox_rule": "//a[@href=\"messages.php\"]/font[contains(text(),\"条\")]/text()[1]", - "hash_rule": "//td/b[contains(text(),\"Hash\")]/following::text()[1]", + "hash_rule": "//div/text[contains(text(),\"Hash\")]/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_passkey_rule": "//div[contains(text(),\"Passkey\")]/following-sibling::input/@value", + "my_uid_rule": "//div/a[contains(@href,\"/Users/profile?uid=\")]/@href", "page_control_panel": "usercp.php", "tracker": "creditracker" }, { "id": 73, "created_at": "2022-10-13 22:31:26.178291", - "updated_at": "2022-11-25 18:39:57.474108", + "updated_at": "2022-11-28 22:03:09.162247", "name": "织梦", "url": "https://zmpt.cc/", "logo": "https://zmpt.cc/favicon.ico", @@ -4942,7 +4942,7 @@ { "id": 74, "created_at": "2022-10-14 14:23:01.057107", - "updated_at": "2022-11-25 18:39:57.477474", + "updated_at": "2022-11-28 22:03:09.172233", "name": "52PT", "url": "https://52pt.site/", "logo": "https://52pt.site/favicon.ico", @@ -5018,7 +5018,7 @@ { "id": 75, "created_at": "2022-10-14 14:25:28.692053", - "updated_at": "2022-11-25 18:39:57.481877", + "updated_at": "2022-11-28 22:03:09.176776", "name": "TCCF", "url": "https://et8.org/", "logo": "https://et8.org/favicon.ico", @@ -5094,7 +5094,7 @@ { "id": 76, "created_at": "2022-10-15 20:49:44.721748", - "updated_at": "2022-11-25 18:39:57.485997", + "updated_at": "2022-11-28 22:03:09.182154", "name": "SRVFI", "url": "https://srvfi.top/", "logo": "https://srvfi.top/favicon.ico", @@ -5170,7 +5170,7 @@ { "id": 77, "created_at": "2022-10-17 07:42:57.547264", - "updated_at": "2022-11-25 18:39:57.489504", + "updated_at": "2022-11-28 22:03:09.189682", "name": "ICC2022", "url": "https://www.icc2022.com/", "logo": "https://www.icc2022.com/favicon.ico", @@ -5246,7 +5246,7 @@ { "id": 78, "created_at": "2022-10-21 18:14:12.349610", - "updated_at": "2022-11-25 18:39:57.493009", + "updated_at": "2022-11-28 22:03:09.196907", "name": "iHD", "url": "https://ihdbits.me/", "logo": "https://ihdbits.me/favicon.ico", @@ -5322,7 +5322,7 @@ { "id": 79, "created_at": "2022-11-01 00:06:06.053113", - "updated_at": "2022-11-25 18:39:57.497693", + "updated_at": "2022-11-28 22:03:09.202574", "name": "红叶", "url": "http://leaves.red/", "logo": "http://leaves.red/favicon.ico", @@ -5398,7 +5398,7 @@ { "id": 81, "created_at": "2022-11-04 23:06:38.778550", - "updated_at": "2022-11-25 18:39:57.501432", + "updated_at": "2022-11-28 22:03:09.208166", "name": "龙之家", "url": "https://www.dragonhd.xyz/", "logo": "https://www.dragonhd.xyz/favicon.ico", @@ -5474,7 +5474,7 @@ { "id": 82, "created_at": "2022-11-08 09:18:21.489786", - "updated_at": "2022-11-25 18:39:57.505375", + "updated_at": "2022-11-28 22:03:09.214584", "name": "杏林", "url": "https://xinglin.one/", "logo": "https://xinglin.one/favicon.ico", @@ -5550,7 +5550,7 @@ { "id": 83, "created_at": "2022-11-12 22:41:41.000351", - "updated_at": "2022-11-25 18:39:57.509060", + "updated_at": "2022-11-28 22:03:09.220645", "name": "Filept", "url": "https://www.filept.com/", "logo": "https://www.filept.com/favicon.ico", @@ -5626,7 +5626,7 @@ { "id": 84, "created_at": "2022-11-23 17:58:52.708203", - "updated_at": "2022-11-25 18:39:57.513573", + "updated_at": "2022-11-28 22:03:09.224741", "name": "海豚", "url": "https://dicmusic.club/", "logo": "https://dicmusic.club/favicon.ico",