From 981ec5f4f470f9de939237875acfba2a22155ae5 Mon Sep 17 00:00:00 2001 From: allen Date: Thu, 21 Sep 2023 19:25:15 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E8=B1=A1=E7=AB=99):=20=E9=80=82=E9=85=8D?= =?UTF-8?q?=E7=AB=99=E7=82=B9<=E8=B1=A1=E7=AB=99>=EF=BC=88ptvicomo.net?= =?UTF-8?q?=EF=BC=89=20=E6=95=B0=E6=8D=AE=E7=BB=9F=E8=AE=A1=E3=80=81?= =?UTF-8?q?=E5=8D=87=E7=BA=A7=E6=9D=A1=E4=BB=B6=E3=80=81=E8=B5=84=E6=BA=90?= =?UTF-8?q?=E6=90=9C=E7=B4=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resource/sites/ptvicomo.net/config.json | 220 ++++++++++++++++++++++++ 1 file changed, 220 insertions(+) create mode 100644 resource/sites/ptvicomo.net/config.json diff --git a/resource/sites/ptvicomo.net/config.json b/resource/sites/ptvicomo.net/config.json new file mode 100644 index 000000000..96bb64c0d --- /dev/null +++ b/resource/sites/ptvicomo.net/config.json @@ -0,0 +1,220 @@ +{ + "name": "象站", + "timezoneOffset": "+0800", + "schema": "NexusPHP", + "url": "https://ptvicomo.net/", + "description": "大象自中虚,中虚真不渝!", + "icon": "https://ptvicomo.net/favicon.ico", + "tags": [ + "综合" + ], + "host": "ptvicomo.net", + "plugins": [ + { + "name": "种子列表", + "pages": [ + "/special.php" + ], + "scripts": [ + "/schemas/NexusPHP/common.js", + "/schemas/NexusPHP/torrents.js" + ] + } + ], + "levelRequirements": [ + { + "level": "1", + "name": "Power User", + "interval": "4", + "downloaded": "50GB", + "ratio": "1.05", + "privilege": "得到一个邀请名额;直接发布种子;查看NFO文档;查看用户列表;请求续种;发送邀请;查看排行榜;查看其它用户的种子历史;删除自己上传的字幕。" + }, + { + "level": "2", + "name": "Elite User", + "interval": "8", + "downloaded": "120GB", + "ratio": "1.55", + "privilege": "封存账号后不会被删除" + }, + { + "level": "3", + "name": "Crazy User", + "interval": "15", + "downloaded": "300GB", + "ratio": "2.05", + "privilege": "得到两个邀请名额;在做种/下载/发布的时候选择匿名模式" + }, + { + "level": "4", + "name": "Insane User", + "interval": "25", + "downloaded": "500GB", + "ratio": "2.55", + "privilege": "发送邀请;查看普通日志" + }, + { + "level": "5", + "name": "Veteran User", + "interval": "40", + "downloaded": "750GB", + "ratio": "3.05", + "privilege": "永远保留账号;得到三个邀请名额;查看其它用户的评论、帖子历史" + }, + { + "level": "6", + "name": "Extreme User", + "interval": "60", + "downloaded": "1TB", + "ratio": "3.55", + "privilege": "更新过期的外部信息;查看Extreme User论坛" + }, + { + "level": "7", + "name": "Ultimate User", + "interval": "80", + "downloaded": "1.5TB", + "ratio": "4.05", + "privilege": "得到五个邀请名额" + }, + { + "level": "8", + "name": "Nexus Master", + "interval": "100", + "downloaded": "3TB", + "ratio": "4.55", + "privilege": "得到十个邀请名额" + } + ], + "collaborator": [ + "AllenPu" + ], + "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": { + "area": [ + { + "name": "IMDB", + "keyAutoMatch": "^(tt\\d+)$", + "appendQueryString": "&search_area=1" + } + ], + "fieldSelector": { + "progress": { + "selector": [ + "> td:eq(8)" + ], + "filters": [ + "query.text()==='-'?null:parseFloat(query.text().split('%')[0])" + ] + }, + "status": { + "selector": [ + "> td:eq(8)" + ], + "filters": [ + "query.text()==='-'?null:(query.is(\"[bgcolor='#44cef6']\")?1:(parseFloat(query.text().split('%')[0])==100?(query.is(\"[bgcolor='#d0d0d0']\")?255:2):3))" + ] + } + } + }, + "searchEntry": [ + { + "name": "全站", + "enabled": true + }, + { + "queryString": "cat401=1", + "name": "电影", + "enabled": false + }, + { + "queryString": "cat402=1", + "name": "电视剧", + "enabled": false + }, + { + "queryString": "cat403=1", + "name": "综艺", + "enabled": false + }, + { + "queryString": "cat404=1", + "name": "纪录片", + "enabled": false + }, + { + "queryString": "cat405=1", + "name": "动画", + "enabled": false + }, + { + "queryString": "cat406=1", + "name": "MV", + "enabled": false + }, + { + "queryString": "cat407=1", + "name": "体育", + "enabled": false + } + ], + "categories": [ + { + "entry": "torrents.php", + "result": "&cat$id$=1", + "category": [ + { + "id": 401, + "name": "电影" + }, + { + "id": 402, + "name": "电视剧" + }, + { + "id": 403, + "name": "综艺" + }, + { + "id": 404, + "name": "纪录片" + }, + { + "id": 405, + "name": "动画" + }, + { + "id": 406, + "name": "MV" + }, + { + "id": 407, + "name": "体育" + } + ] + } + ] +}