From cca00fa680fec8ffd4eade7e1096fc685b363c57 Mon Sep 17 00:00:00 2001 From: null Date: Tue, 25 Feb 2025 10:23:40 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=94=90=E9=97=A8):=E9=80=82=E9=85=8D?= =?UTF-8?q?=E7=AB=99=E7=82=B9=20=E5=94=90=E9=97=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resource/sites/tmpt.top/config.json | 177 ++++++++++++++++++++++++++++ 1 file changed, 177 insertions(+) create mode 100644 resource/sites/tmpt.top/config.json diff --git a/resource/sites/tmpt.top/config.json b/resource/sites/tmpt.top/config.json new file mode 100644 index 000000000..9dcbb5ce2 --- /dev/null +++ b/resource/sites/tmpt.top/config.json @@ -0,0 +1,177 @@ +{ + "name": "唐门", + "description": "欢迎来到唐门", + "icon": "https://tmpt.top/favicon.ico", + "url": "https://tmpt.top/", + "tags": [ + "综合", + "影视" + ], + "schema": "NexusPHP", + "host": "tmpt.top", + "levelRequirements": [ + { + "level": 1, + "name": "Power User", + "interval": "4", + "downloaded": "50GB", + "ratio": "1.05", + "seedingPoints": "40000", + "privilege": "得到一个邀请名额;可以直接发布种子;可以查看NFO文档;可以查看用户列表;可以请求续种; 可以发送邀请; 可以查看排行榜;可以查看其它用户的种子历史(如果用户隐私等级未设置为\"强\"); 可以删除自己上传的字幕。" + }, + { + "level": 2, + "name": "Elite User", + "interval": "8", + "downloaded": "120GB", + "ratio": "1.55", + "seedingPoints": "80000", + "privilege": "Elite User及以上用户封存账号后不会被删除。" + }, + { + "level": 3, + "name": "Crazy User", + "interval": "15", + "downloaded": "300GB", + "ratio": "2.05", + "seedingPoints": "150000", + "privilege": "得到两个邀请名额;可以在做种/下载/发布的时候选择匿名模式。" + }, + { + "level": 4, + "name": "Insane User", + "interval": "25", + "downloaded": "500GB", + "ratio": "2.55", + "seedingPoints": "250000", + "privilege": "可以查看普通日志。" + }, + { + "level": 5, + "name": "Veteran User", + "interval": "40", + "downloaded": "750GB", + "ratio": "3.05", + "seedingPoints": "400000", + "privilege": "得到三个邀请名额;可以查看其它用户的评论、帖子历史。Veteran User及以上用户会永远保留账号。" + }, + { + "level": 6, + "name": "Extreme User", + "interval": "60", + "downloaded": "1TB", + "ratio": "3.55", + "seedingPoints": "600000", + "privilege": "可以更新过期的外部信息;可以查看Extreme User论坛。" + }, + { + "level": 7, + "name": "Ultimate User", + "interval": "80", + "downloaded": "1.5TB", + "ratio": "4.05", + "seedingPoints": "800000", + "privilege": "得到五个邀请名额。" + }, + { + "level": 8, + "name": "Nexus Master", + "interval": "100", + "downloaded": "3TB", + "ratio": "4.55", + "seedingPoints": "1000000", + "privilege": "得到十个邀请名额。" + } + ], + "collaborator": [ + "Exception" + ], + "categories": [ + { + "entry": "torrents.php", + "result": "&cat$id$=1", + "category": [ + { + "id": 408, + "name": "HQ音乐" + }, + { + "id": 409, + "name": "其它" + }, + { + "id": 407, + "name": "体育" + }, + { + "id": 406, + "name": "MV" + }, + { + "id": 403, + "name": "综艺" + }, + { + "id": 402, + "name": "电视剧" + }, + { + "id": 405, + "name": "动漫" + }, + { + "id": 404, + "name": "纪录片" + }, + { + "id": 401, + "name": "电影" + } + ] + } + ], + "selectors": { + "userSeedingTorrents": { + "page": "/getusertorrentlistajax.php?userid=$user.id$&type=seeding", + "fields": { + "seeding": { + "selector": [ + "b:first" + ], + "filters": [ + "query.text()" + ] + }, + "seedingSize": { + "selector": "", + "filters": [ + "query.text().match(/总大小:(.*?)上一页/g)", + "(query && query.length>0) ? query[0].replace('总大小:', '').replace('<< 上一页', '').trim() : 0", + "(query != 0) ? query.sizeToNumber() : 0" + ] + } + } + } + }, + "searchEntryConfig": { + "fieldSelector": { + "progress": { + "selector": [ + "> td.rowfollow:eq(1) td.embedded:eq(0) > div:last" + ], + "filters": [ + "query ? parseFloat(query.attr('title').match(/[\\d.]+/)) : null" + ] + }, + "status": { + "selector": [ + "> td.rowfollow:eq(1) td.embedded:eq(0) > div:last" + ], + "filters": [ + "query ? query.attr('title') : ''", + "query.indexOf('seeding') != -1 ? 2 : query.indexOf('leeching') != -1 ? 1 : query.indexOf('100%') != -1 ? 255 : 3" + ] + } + } + } + } \ No newline at end of file