From 719362acf6aefea0de4ec3017ba531f7db030fe6 Mon Sep 17 00:00:00 2001 From: vanch Date: Thu, 27 Mar 2025 22:09:55 +0800 Subject: [PATCH 1/7] =?UTF-8?q?feat(site):=20=E9=80=82=E9=85=8D=E7=AB=99?= =?UTF-8?q?=E7=82=B9=20=E4=B8=8B=E6=B0=B4=E9=81=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resource/sites/sewerpt.com/config.json | 134 +++++++++++++++++++++++++ 1 file changed, 134 insertions(+) create mode 100644 resource/sites/sewerpt.com/config.json diff --git a/resource/sites/sewerpt.com/config.json b/resource/sites/sewerpt.com/config.json new file mode 100644 index 000000000..19e63f38e --- /dev/null +++ b/resource/sites/sewerpt.com/config.json @@ -0,0 +1,134 @@ +{ + "name": "下水道", + "timezoneOffset": "+0800", + "schema": "NexusPHP", + "url": "https://sewerpt.com", + "description": "再小众的热爱,也值得被世界看见", + "icon": "https://sewerpt.com/favicon.ico", + "tags": [ + "冷门", + "低分", + "粤语", + "影视" + ], + "host": "sewerpt.com", + "collaborator": "sewerpt", + "levelRequirements": [ + { + "level": "1", + "name": "大工", + "interval": "4", + "downloaded": "50GB", + "ratio": "1.05", + "seedingPoints": "40000", + "privilege": "无" + }, + { + "level": "2", + "name": "技工", + "interval": "8", + "downloaded": "120GB", + "ratio": "1.55", + "seedingPoints": "80000", + "privilege": "无" + }, + { + "level": "3", + "name": "安全员", + "interval": "16", + "downloaded": "300GB", + "ratio": "2.05", + "seedingPoints": "150000", + "privilege": "无" + }, + { + "level": "4", + "name": "技术员", + "interval": "28", + "downloaded": "500GB", + "ratio": "2.55", + "seedingPoints": "250000", + "privilege": "无" + }, + { + "level": "5", + "name": "工长", + "interval": "40", + "downloaded": "750GB", + "ratio": "2.95", + "seedingPoints": "400000", + "privilege": "无" + }, + { + "level": "6", + "name": "包工头", + "interval": "60", + "downloaded": "1024GB", + "ratio": "3.55", + "seedingPoints": "600000", + "privilege": "无" + }, + { + "level": "7", + "name": "工程师", + "interval": "80", + "downloaded": "1536GB", + "ratio": "4.05", + "seedingPoints": "900000", + "privilege": "无" + }, + { + "level": "8", + "name": "老板", + "interval": "100", + "downloaded": "3072GB", + "ratio": "4.55", + "seedingPoints": "1500000", + "privilege": "无" + } + ], + "selectors": { + "userSeedingTorrents": { + "page": "/getusertorrentlistajax.php?userid=$user.id$&type=seeding", + "fields": { + "seeding": { + "selector": [ + "b:first" + ], + "filters": [ + "query.text()" + ] + }, + "seedingSize": { + "selector": "", + "filters": [ + "query.text().match(/总大小:(.*?)0 ) ? query[0].replace('总大小:', '').replace('<', '').trim() : 0", + "(query != 0) ? _self.getTotalSize([query]) : 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 From 80a97bffbbdf2a235a531acea5664fabb0a5d08d Mon Sep 17 00:00:00 2001 From: vanch Date: Mon, 28 Apr 2025 18:52:42 +0800 Subject: [PATCH 2/7] =?UTF-8?q?feat(site):=20=E9=80=82=E9=85=8D=E7=AB=99?= =?UTF-8?q?=E7=82=B9=20PlayLet?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resource/sites/playletpt.xyz/config.json | 117 +++++++++++++++++++++++ 1 file changed, 117 insertions(+) create mode 100644 resource/sites/playletpt.xyz/config.json diff --git a/resource/sites/playletpt.xyz/config.json b/resource/sites/playletpt.xyz/config.json new file mode 100644 index 000000000..c752906e1 --- /dev/null +++ b/resource/sites/playletpt.xyz/config.json @@ -0,0 +1,117 @@ +{ + "name": "PlayLet", + "timezoneOffset": "+0800", + "schema": "NexusPHP", + "url": "https://playletpt.xyz", + "description": "微而精,短而美", + "icon": "https://playletpt.xyz/favicon.ico", + "tags": ["短剧"], + "host": "playletpt.xyz", + "collaborator": "端端", + "levelRequirements": [ + { + "level": "1", + "name": "Power User", + "interval": "4", + "downloaded": "50GB", + "ratio": "1.05", + "privilege": "得到一个邀请名额;可以直接发布种子;可以查看NFO文档;\n可以查看用户列表;可以请求续种;\n 可以发送邀请;\n 可以查看排行榜;\n可以查看其它用户的种子历史(如果用户隐私等级未设置为\"强\"); \n可以删除自己上传的字幕。" + }, + { + "level": "2", + "name": "Elite User", + "interval": "8", + "downloaded": "120GB", + "ratio": "1.55", + "privilege": "Elite User及以上用户封存账号后不会被删除。" + }, + { + "level": "3", + "name": "Crazy User", + "interval": "16", + "downloaded": "300GB", + "ratio": "2.05", + "privilege": "得到两个邀请名额;可以在做种/下载/发布的时候选择匿名模式。" + }, + { + "level": "4", + "name": "Insane User", + "interval": "28", + "downloaded": "500GB", + "ratio": "2.55", + "privilege": "可以查看普通日志。" + }, + { + "level": "5", + "name": "Veteran User", + "interval": "40", + "downloaded": "750GB", + "ratio": "3.05", + "privilege": "得到三个邀请名额;\n可以查看其它用户的评论、帖子历史。\nVeteran User及以上用户会永远保留账号。" + }, + { + "level": "6", + "name": "Extreme User", + "interval": "60", + "downloaded": "1024GB", + "ratio": "3.55", + "privilege": "可以更新过期的外部信息;\n可以查看Extreme User论坛。" + }, + { + "level": "7", + "name": "Ultimate User", + "interval": "80", + "downloaded": "1536GB", + "ratio": "4.05", + "privilege": "得到五个邀请名额。" + }, + { + "level": "8", + "name": "Nexus Master", + "interval": "100", + "downloaded": "3072GB", + "ratio": "4.55", + "privilege": "得到十个邀请名额。" + } + ], + "selectors": { + "userSeedingTorrents": { + "page": "/getusertorrentlistajax.php?userid=$user.id$&type=seeding", + "fields": { + "seeding": { + "selector": ["b:first"], + "filters": ["query.text()"] + }, + "seedingSize": { + "selector": "", + "filters": [ + "query.text().match(/总大小:(.*?)0 ) ? query[0].replace('总大小:', '').replace('<', '').trim() : 0", + "(query != 0) ? _self.getTotalSize([query]) : 0" + ] + } + } + }, + "userExtendInfo": { + "merge": true, + "fields": { + "unsatisfieds": { + "selector": ["a[href*='myhr.php']:last"], + "filters": ["query.length ? (parseInt(query.text().match(/[\\d.]+/g)[0]) + parseInt(query.text().match(/[\\d.]+/g)[3])) : null"] + } + } + } + }, + "searchEntryConfig": { + "fieldSelector": { + "progress": { + "selector": [".torrentname td.embedded:eq(1) > div:last"], + "filters": ["query ? parseFloat(query.attr('title').match(/[\\d.]+/)) : null"] + }, + "status": { + "selector": [".torrentname td.embedded:eq(1) > div:last"], + "filters": ["query ? query.attr('title') : ''", "query.indexOf('seeding') != -1 ? 2 : query.indexOf('leeching') != -1 ? 1 : query.indexOf('100%') != -1 ? 255 : 3"] + } + } + } +} From b99082b860ad69b904d05ad0e06b3f966c0e85dd Mon Sep 17 00:00:00 2001 From: vanch Date: Tue, 29 Apr 2025 09:03:52 +0800 Subject: [PATCH 3/7] =?UTF-8?q?fix(style):=20=E4=BB=A3=E7=A0=81=E9=A3=8E?= =?UTF-8?q?=E6=A0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resource/sites/playletpt.xyz/config.json | 239 ++++++++++++----------- 1 file changed, 124 insertions(+), 115 deletions(-) diff --git a/resource/sites/playletpt.xyz/config.json b/resource/sites/playletpt.xyz/config.json index c752906e1..5a8a73123 100644 --- a/resource/sites/playletpt.xyz/config.json +++ b/resource/sites/playletpt.xyz/config.json @@ -1,117 +1,126 @@ { - "name": "PlayLet", - "timezoneOffset": "+0800", - "schema": "NexusPHP", - "url": "https://playletpt.xyz", - "description": "微而精,短而美", - "icon": "https://playletpt.xyz/favicon.ico", - "tags": ["短剧"], - "host": "playletpt.xyz", - "collaborator": "端端", - "levelRequirements": [ - { - "level": "1", - "name": "Power User", - "interval": "4", - "downloaded": "50GB", - "ratio": "1.05", - "privilege": "得到一个邀请名额;可以直接发布种子;可以查看NFO文档;\n可以查看用户列表;可以请求续种;\n 可以发送邀请;\n 可以查看排行榜;\n可以查看其它用户的种子历史(如果用户隐私等级未设置为\"强\"); \n可以删除自己上传的字幕。" - }, - { - "level": "2", - "name": "Elite User", - "interval": "8", - "downloaded": "120GB", - "ratio": "1.55", - "privilege": "Elite User及以上用户封存账号后不会被删除。" - }, - { - "level": "3", - "name": "Crazy User", - "interval": "16", - "downloaded": "300GB", - "ratio": "2.05", - "privilege": "得到两个邀请名额;可以在做种/下载/发布的时候选择匿名模式。" - }, - { - "level": "4", - "name": "Insane User", - "interval": "28", - "downloaded": "500GB", - "ratio": "2.55", - "privilege": "可以查看普通日志。" - }, - { - "level": "5", - "name": "Veteran User", - "interval": "40", - "downloaded": "750GB", - "ratio": "3.05", - "privilege": "得到三个邀请名额;\n可以查看其它用户的评论、帖子历史。\nVeteran User及以上用户会永远保留账号。" - }, - { - "level": "6", - "name": "Extreme User", - "interval": "60", - "downloaded": "1024GB", - "ratio": "3.55", - "privilege": "可以更新过期的外部信息;\n可以查看Extreme User论坛。" - }, - { - "level": "7", - "name": "Ultimate User", - "interval": "80", - "downloaded": "1536GB", - "ratio": "4.05", - "privilege": "得到五个邀请名额。" - }, - { - "level": "8", - "name": "Nexus Master", - "interval": "100", - "downloaded": "3072GB", - "ratio": "4.55", - "privilege": "得到十个邀请名额。" - } - ], - "selectors": { - "userSeedingTorrents": { - "page": "/getusertorrentlistajax.php?userid=$user.id$&type=seeding", - "fields": { - "seeding": { - "selector": ["b:first"], - "filters": ["query.text()"] - }, - "seedingSize": { - "selector": "", - "filters": [ - "query.text().match(/总大小:(.*?)0 ) ? query[0].replace('总大小:', '').replace('<', '').trim() : 0", - "(query != 0) ? _self.getTotalSize([query]) : 0" - ] - } - } - }, - "userExtendInfo": { - "merge": true, - "fields": { - "unsatisfieds": { - "selector": ["a[href*='myhr.php']:last"], - "filters": ["query.length ? (parseInt(query.text().match(/[\\d.]+/g)[0]) + parseInt(query.text().match(/[\\d.]+/g)[3])) : null"] - } - } - } - }, - "searchEntryConfig": { - "fieldSelector": { - "progress": { - "selector": [".torrentname td.embedded:eq(1) > div:last"], - "filters": ["query ? parseFloat(query.attr('title').match(/[\\d.]+/)) : null"] - }, - "status": { - "selector": [".torrentname td.embedded:eq(1) > div:last"], - "filters": ["query ? query.attr('title') : ''", "query.indexOf('seeding') != -1 ? 2 : query.indexOf('leeching') != -1 ? 1 : query.indexOf('100%') != -1 ? 255 : 3"] - } - } - } + "name": "PlayLet", + "timezoneOffset": "+0800", + "schema": "NexusPHP", + "url": "https://playletpt.xyz", + "description": "微而精,短而美", + "icon": "https://playletpt.xyz/favicon.ico", + "tags": ["短剧"], + "host": "playletpt.xyz", + "collaborator": "端端", + "levelRequirements": [ + { + "level": "1", + "name": "Power User", + "interval": "4", + "downloaded": "50GB", + "ratio": "1.05", + "privilege": "得到一个邀请名额;可以直接发布种子;可以查看NFO文档;\n可以查看用户列表;可以请求续种;\n 可以发送邀请;\n 可以查看排行榜;\n可以查看其它用户的种子历史(如果用户隐私等级未设置为\"强\"); \n可以删除自己上传的字幕。" + }, + { + "level": "2", + "name": "Elite User", + "interval": "8", + "downloaded": "120GB", + "ratio": "1.55", + "privilege": "Elite User及以上用户封存账号后不会被删除。" + }, + { + "level": "3", + "name": "Crazy User", + "interval": "16", + "downloaded": "300GB", + "ratio": "2.05", + "privilege": "得到两个邀请名额;可以在做种/下载/发布的时候选择匿名模式。" + }, + { + "level": "4", + "name": "Insane User", + "interval": "28", + "downloaded": "500GB", + "ratio": "2.55", + "privilege": "可以查看普通日志。" + }, + { + "level": "5", + "name": "Veteran User", + "interval": "40", + "downloaded": "750GB", + "ratio": "3.05", + "privilege": "得到三个邀请名额;\n可以查看其它用户的评论、帖子历史。\nVeteran User及以上用户会永远保留账号。" + }, + { + "level": "6", + "name": "Extreme User", + "interval": "60", + "downloaded": "1024GB", + "ratio": "3.55", + "privilege": "可以更新过期的外部信息;\n可以查看Extreme User论坛。" + }, + { + "level": "7", + "name": "Ultimate User", + "interval": "80", + "downloaded": "1536GB", + "ratio": "4.05", + "privilege": "得到五个邀请名额。" + }, + { + "level": "8", + "name": "Nexus Master", + "interval": "100", + "downloaded": "3072GB", + "ratio": "4.55", + "privilege": "得到十个邀请名额。" + } + ], + "selectors": { + "userSeedingTorrents": { + "page": "/getusertorrentlistajax.php?userid=$user.id$&type=seeding", + "fields": { + "seeding": { + "selector": ["b:first"], + "filters": ["query.text()"] + }, + "seedingSize": { + "selector": "", + "filters": [ + "query.text().match(/总大小:(.*?)0 ) ? query[0].replace('总大小:', '').replace('<', '').trim() : 0", + "(query != 0) ? _self.getTotalSize([query]) : 0" + ] + } + } + }, + "userExtendInfo": { + "merge": true, + "fields": { + "unsatisfieds": { + "selector": ["a[href*='myhr.php']:last"], + "filters": ["query.length ? (parseInt(query.text().match(/[\\d.]+/g)[0]) + parseInt(query.text().match(/[\\d.]+/g)[3])) : null"] + } + } + }, + "/details.php": { + "merge": true, + "fields": { + "downloadURL": { + "selector": ["input#download_link"], + "filters": ["query.val()"] + } + } + } + }, + "searchEntryConfig": { + "fieldSelector": { + "progress": { + "selector": [".torrentname td.embedded:eq(1) > div:last"], + "filters": ["query ? parseFloat(query.attr('title').match(/[\\d.]+/)) : null"] + }, + "status": { + "selector": [".torrentname td.embedded:eq(1) > div:last"], + "filters": ["query ? query.attr('title') : ''", "query.indexOf('seeding') != -1 ? 2 : query.indexOf('leeching') != -1 ? 1 : query.indexOf('100%') != -1 ? 255 : 3"] + } + } + } } From 7f719eb9ff5b67477e0cb343594e4fddaba38422 Mon Sep 17 00:00:00 2001 From: vanch Date: Fri, 30 May 2025 15:23:01 +0800 Subject: [PATCH 4/7] =?UTF-8?q?fix(site):=20=E4=BF=AE=E5=A4=8DUB=20subtitl?= =?UTF-8?q?e=20=E9=80=89=E6=8B=A9=E5=99=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resource/sites/ubits.club/config.json | 254 +++++++++++++------------- 1 file changed, 125 insertions(+), 129 deletions(-) diff --git a/resource/sites/ubits.club/config.json b/resource/sites/ubits.club/config.json index df188c943..80c74475c 100644 --- a/resource/sites/ubits.club/config.json +++ b/resource/sites/ubits.club/config.json @@ -1,130 +1,126 @@ { - "name": "UBits", - "timezoneOffset": "+0800", - "description": "ubits.club", - "url": "https://ubits.club/", - "icon": "https://ubits.club/favicon.ico", - "tags": ["影视"], - "schema": "NexusPHP", - "host": "ubits.club", - "collaborator": ["IITII"], - "levelRequirements": [ - { - "level": 1, - "name": "Power User", - "interval": "5", - "downloaded": "200GB", - "seedingPoints": "50000", - "ratio": "2", - "privilege": "可以直接发布种子;可以查看NFO文档;可以查看用户列表;可以请求续种; 可以发送邀请; 可以查看排行榜;可以查看其它用户的种子历史(如果用户隐私等级未设置为\"强\");可以删除自己上传的字幕。" - }, - { - "level": 2, - "name": "Elite User", - "interval": "10", - "downloaded": "500GB", - "seedingPoints": "100000", - "ratio": "3", - "privilege": "Elite User及以上用户封存账号后不会被删除。" - }, - { - "level": 3, - "name": "Crazy User", - "interval": "15", - "downloaded": "800GB", - "seedingPoints": "200000", - "ratio": "4", - "privilege": "得到1个邀请名额;可以在做种/下载/发布的时候选择匿名模式。" - }, - { - "level": 4, - "name": "Insane User", - "seedingPoints": "500000", - "interval": "20", - "downloaded": "1TB", - "ratio": "5", - "privilege": "得到1个邀请名额;可以查看普通日志。" - }, - { - "level": 5, - "name": "Veteran User", - "interval": "25", - "downloaded": "1.5TB", - "seedingPoints": "750000", - "ratio": "6", - "privilege": "得到1个邀请名额;可以查看其它用户的评论、帖子历史。Veteran User及以上用户会永远保留账号。" - }, - { - "level": 6, - "name": "Extreme User", - "interval": "30", - "seedingPoints": "1500000", - "downloaded": "2TB", - "ratio": "7", - "privilege": "得到2个邀请名额;可以更新过期的外部信息;可以查看Extreme User论坛。" - }, - { - "level": 7, - "name": "Ultimate User", - "interval": "40", - "seedingPoints": "2000000", - "downloaded": "3TB", - "ratio": "8", - "privilege": "得到3个邀请名额。" - }, - { - "level": 8, - "name": "Nexus Master", - "seedingPoints": "3000000", - "interval": "60", - "downloaded": "4TB", - "ratio": "10", - "privilege": "得到4个邀请名额。" - } - ], - "searchEntry": [ - { - "name": "全站", - "enabled": true - } - ], - "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" - ] - } - } - }, - "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" - ] - } - } - } - } - } - + "name": "UBits", + "timezoneOffset": "+0800", + "description": "ubits.club", + "url": "https://ubits.club/", + "icon": "https://ubits.club/favicon.ico", + "tags": ["影视"], + "schema": "NexusPHP", + "host": "ubits.club", + "collaborator": ["IITII", "vanchkong"], + "levelRequirements": [ + { + "level": 1, + "name": "Power User", + "interval": "5", + "downloaded": "200GB", + "seedingPoints": "50000", + "ratio": "2", + "privilege": "可以直接发布种子;可以查看NFO文档;可以查看用户列表;可以请求续种; 可以发送邀请; 可以查看排行榜;可以查看其它用户的种子历史(如果用户隐私等级未设置为\"强\");可以删除自己上传的字幕。" + }, + { + "level": 2, + "name": "Elite User", + "interval": "10", + "downloaded": "500GB", + "seedingPoints": "100000", + "ratio": "3", + "privilege": "Elite User及以上用户封存账号后不会被删除。" + }, + { + "level": 3, + "name": "Crazy User", + "interval": "15", + "downloaded": "800GB", + "seedingPoints": "200000", + "ratio": "4", + "privilege": "得到1个邀请名额;可以在做种/下载/发布的时候选择匿名模式。" + }, + { + "level": 4, + "name": "Insane User", + "seedingPoints": "500000", + "interval": "20", + "downloaded": "1TB", + "ratio": "5", + "privilege": "得到1个邀请名额;可以查看普通日志。" + }, + { + "level": 5, + "name": "Veteran User", + "interval": "25", + "downloaded": "1.5TB", + "seedingPoints": "750000", + "ratio": "6", + "privilege": "得到1个邀请名额;可以查看其它用户的评论、帖子历史。Veteran User及以上用户会永远保留账号。" + }, + { + "level": 6, + "name": "Extreme User", + "interval": "30", + "seedingPoints": "1500000", + "downloaded": "2TB", + "ratio": "7", + "privilege": "得到2个邀请名额;可以更新过期的外部信息;可以查看Extreme User论坛。" + }, + { + "level": 7, + "name": "Ultimate User", + "interval": "40", + "seedingPoints": "2000000", + "downloaded": "3TB", + "ratio": "8", + "privilege": "得到3个邀请名额。" + }, + { + "level": 8, + "name": "Nexus Master", + "seedingPoints": "3000000", + "interval": "60", + "downloaded": "4TB", + "ratio": "10", + "privilege": "得到4个邀请名额。" + } + ], + "searchEntry": [ + { + "name": "全站", + "enabled": true + } + ], + "searchEntryConfig": { + "fieldSelector": { + "subTitle": { + "selector": ["> td.rowfollow:eq(1) td.embedded:eq(0)"], + "filters": ["query.html().match(/
\\s*([\\s\\S]*?)\\s*
/)", "query[1]"] + }, + "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"] + } + } + }, + "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" + ] + } + } + } + } +} From eba4a09d6d549c610a2ad4dd6d23abba7bee5d8a Mon Sep 17 00:00:00 2001 From: vanch Date: Fri, 30 May 2025 15:26:42 +0800 Subject: [PATCH 5/7] =?UTF-8?q?fix(style):=20=E4=BB=A3=E7=A0=81=E9=A3=8E?= =?UTF-8?q?=E6=A0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resource/sites/ubits.club/config.json | 248 +++++++++++++------------- 1 file changed, 124 insertions(+), 124 deletions(-) diff --git a/resource/sites/ubits.club/config.json b/resource/sites/ubits.club/config.json index 80c74475c..178fa7658 100644 --- a/resource/sites/ubits.club/config.json +++ b/resource/sites/ubits.club/config.json @@ -1,126 +1,126 @@ { - "name": "UBits", - "timezoneOffset": "+0800", - "description": "ubits.club", - "url": "https://ubits.club/", - "icon": "https://ubits.club/favicon.ico", - "tags": ["影视"], - "schema": "NexusPHP", - "host": "ubits.club", - "collaborator": ["IITII", "vanchkong"], - "levelRequirements": [ - { - "level": 1, - "name": "Power User", - "interval": "5", - "downloaded": "200GB", - "seedingPoints": "50000", - "ratio": "2", - "privilege": "可以直接发布种子;可以查看NFO文档;可以查看用户列表;可以请求续种; 可以发送邀请; 可以查看排行榜;可以查看其它用户的种子历史(如果用户隐私等级未设置为\"强\");可以删除自己上传的字幕。" - }, - { - "level": 2, - "name": "Elite User", - "interval": "10", - "downloaded": "500GB", - "seedingPoints": "100000", - "ratio": "3", - "privilege": "Elite User及以上用户封存账号后不会被删除。" - }, - { - "level": 3, - "name": "Crazy User", - "interval": "15", - "downloaded": "800GB", - "seedingPoints": "200000", - "ratio": "4", - "privilege": "得到1个邀请名额;可以在做种/下载/发布的时候选择匿名模式。" - }, - { - "level": 4, - "name": "Insane User", - "seedingPoints": "500000", - "interval": "20", - "downloaded": "1TB", - "ratio": "5", - "privilege": "得到1个邀请名额;可以查看普通日志。" - }, - { - "level": 5, - "name": "Veteran User", - "interval": "25", - "downloaded": "1.5TB", - "seedingPoints": "750000", - "ratio": "6", - "privilege": "得到1个邀请名额;可以查看其它用户的评论、帖子历史。Veteran User及以上用户会永远保留账号。" - }, - { - "level": 6, - "name": "Extreme User", - "interval": "30", - "seedingPoints": "1500000", - "downloaded": "2TB", - "ratio": "7", - "privilege": "得到2个邀请名额;可以更新过期的外部信息;可以查看Extreme User论坛。" - }, - { - "level": 7, - "name": "Ultimate User", - "interval": "40", - "seedingPoints": "2000000", - "downloaded": "3TB", - "ratio": "8", - "privilege": "得到3个邀请名额。" - }, - { - "level": 8, - "name": "Nexus Master", - "seedingPoints": "3000000", - "interval": "60", - "downloaded": "4TB", - "ratio": "10", - "privilege": "得到4个邀请名额。" - } - ], - "searchEntry": [ - { - "name": "全站", - "enabled": true - } - ], - "searchEntryConfig": { - "fieldSelector": { - "subTitle": { - "selector": ["> td.rowfollow:eq(1) td.embedded:eq(0)"], - "filters": ["query.html().match(/
\\s*([\\s\\S]*?)\\s*
/)", "query[1]"] - }, - "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"] - } - } - }, - "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" - ] - } - } - } - } + "name": "UBits", + "timezoneOffset": "+0800", + "description": "ubits.club", + "url": "https://ubits.club/", + "icon": "https://ubits.club/favicon.ico", + "tags": ["影视"], + "schema": "NexusPHP", + "host": "ubits.club", + "collaborator": ["IITII", "vanchkong"], + "levelRequirements": [ + { + "level": 1, + "name": "Power User", + "interval": "5", + "downloaded": "200GB", + "seedingPoints": "50000", + "ratio": "2", + "privilege": "可以直接发布种子;可以查看NFO文档;可以查看用户列表;可以请求续种; 可以发送邀请; 可以查看排行榜;可以查看其它用户的种子历史(如果用户隐私等级未设置为\"强\");可以删除自己上传的字幕。" + }, + { + "level": 2, + "name": "Elite User", + "interval": "10", + "downloaded": "500GB", + "seedingPoints": "100000", + "ratio": "3", + "privilege": "Elite User及以上用户封存账号后不会被删除。" + }, + { + "level": 3, + "name": "Crazy User", + "interval": "15", + "downloaded": "800GB", + "seedingPoints": "200000", + "ratio": "4", + "privilege": "得到1个邀请名额;可以在做种/下载/发布的时候选择匿名模式。" + }, + { + "level": 4, + "name": "Insane User", + "seedingPoints": "500000", + "interval": "20", + "downloaded": "1TB", + "ratio": "5", + "privilege": "得到1个邀请名额;可以查看普通日志。" + }, + { + "level": 5, + "name": "Veteran User", + "interval": "25", + "downloaded": "1.5TB", + "seedingPoints": "750000", + "ratio": "6", + "privilege": "得到1个邀请名额;可以查看其它用户的评论、帖子历史。Veteran User及以上用户会永远保留账号。" + }, + { + "level": 6, + "name": "Extreme User", + "interval": "30", + "seedingPoints": "1500000", + "downloaded": "2TB", + "ratio": "7", + "privilege": "得到2个邀请名额;可以更新过期的外部信息;可以查看Extreme User论坛。" + }, + { + "level": 7, + "name": "Ultimate User", + "interval": "40", + "seedingPoints": "2000000", + "downloaded": "3TB", + "ratio": "8", + "privilege": "得到3个邀请名额。" + }, + { + "level": 8, + "name": "Nexus Master", + "seedingPoints": "3000000", + "interval": "60", + "downloaded": "4TB", + "ratio": "10", + "privilege": "得到4个邀请名额。" + } + ], + "searchEntry": [ + { + "name": "全站", + "enabled": true + } + ], + "searchEntryConfig": { + "fieldSelector": { + "subTitle": { + "selector": ["> td.rowfollow:eq(1) td.embedded:eq(0)"], + "filters": ["query.html().match(/
\\s*([\\s\\S]*?)\\s*
/)", "query[1]"] + }, + "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"] + } + } + }, + "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" + ] + } + } + } + } } From 80549ad1a9df5b5115256f8f1254e62b793e2a46 Mon Sep 17 00:00:00 2001 From: vanch Date: Fri, 30 May 2025 15:44:56 +0800 Subject: [PATCH 6/7] =?UTF-8?q?fix(site):=20=E4=BF=AE=E6=94=B9=20filters?= =?UTF-8?q?=20=E5=8C=B9=E9=85=8D=E6=9D=A1=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resource/sites/ubits.club/config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resource/sites/ubits.club/config.json b/resource/sites/ubits.club/config.json index 178fa7658..24ef3a3b5 100644 --- a/resource/sites/ubits.club/config.json +++ b/resource/sites/ubits.club/config.json @@ -116,7 +116,7 @@ "selector": "", "filters": [ "query.text().match(/总大小:(.*?)上一页/g)", - "(query && query.length>0) ? query[0].replace('总大小:', '').replace('<< 上一页', '').trim() : 0", + "(query && query.length>0) ? query[0].replace('总大小:', '').replace('<< 上一页', '').trim() : 0", "(query != 0) ? query.sizeToNumber() : 0" ] } From 996e36527cbfd35053aa8fa75e3fa0aeeefaf47f Mon Sep 17 00:00:00 2001 From: vanch Date: Wed, 4 Jun 2025 11:54:53 +0800 Subject: [PATCH 7/7] =?UTF-8?q?fix(site):=20=E4=BF=AE=E5=A4=8D=E8=B4=A2?= =?UTF-8?q?=E7=A5=9E=E6=97=A0=E6=B3=95=E6=AD=A3=E5=B8=B8=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E5=81=9A=E7=A7=8D=E4=BD=93=E7=A7=AF=E3=80=81=E5=81=9A=E7=A7=8D?= =?UTF-8?q?=E7=A7=AF=E5=88=86=E3=80=81=E9=AD=94=E5=8A=9B=E5=80=BC=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resource/sites/cspt.top/config.json | 362 +++++++++++++++------------- 1 file changed, 197 insertions(+), 165 deletions(-) diff --git a/resource/sites/cspt.top/config.json b/resource/sites/cspt.top/config.json index 3bb31f511..cddf0d2d5 100644 --- a/resource/sites/cspt.top/config.json +++ b/resource/sites/cspt.top/config.json @@ -1,177 +1,209 @@ { - "name": "财神", - "description": "财神到,八方来财!", - "icon": "https://cspt.top/logo-clear.png", - "url": "https://cspt.top/", - "tags": [ - "综合", - "影视" - ], - "schema": "NexusPHP", - "host": "cspt.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" - ] - } - } - } + "name": "财神", + "description": "财神到,八方来财!", + "icon": "https://cspt.top/logo-clear.png", + "url": "https://cspt.top/", + "cdn": ["https://cspt.date/", "https://cspt.cc/"], + "tags": ["综合", "影视"], + "schema": "NexusPHP", + "host": "cspt.top", + "levelRequirements": [ + { + "level": 1, + "name": "Power User", + "interval": "4", + "downloaded": "50GB", + "ratio": "1.05", + "seedingPoints": "40000", + "privilege": "得到一个邀请名额;可以直接发布种子;可以查看NFO文档;可以查看用户列表;可以请求续种; 可以发送邀请; 可以查看排行榜;可以查看其它用户的种子历史(如果用户隐私等级未设置为\"强\"); 可以删除自己上传的字幕。" }, - "searchEntryConfig": { - "fieldSelector": { - "progress": { - "selector": [ - "> td.rowfollow:eq(1) td.embedded:eq(0) > div:last" - ], + { + "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": ["vanchkong"], + "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": { + "userExtendInfo": { + "page": "/userdetails.php?id=$user.id$", + "merge": "true", + "fields": { + "uploaded": { + "selector": ["td.rowhead:contains('传输') + td", "td.rowhead:contains('傳送') + td", "td.rowhead:contains('Transfers') + td", "td.rowfollow:contains('分享率')"], + "filters": ["query.text().replace(/,/g,'').match(/(上[传傳]量|Uploaded).+?([\\d.]+ ?[ZEPTGMK]?i?B)/)", "(query && query.length==3)?(query[2]).sizeToNumber():0"] + }, + "downloaded": { + "selector": ["td.rowhead:contains('传输') + td", "td.rowhead:contains('傳送') + td", "td.rowhead:contains('Transfers') + td", "td.rowfollow:contains('分享率')"], + "filters": ["query.text().replace(/,/g,'').match(/(下[载載]量|Downloaded).+?([\\d.]+ ?[ZEPTGMK]?i?B)/)", "(query && query.length==3)?(query[2]).sizeToNumber():0"] + }, + "levelName": { + "selector": ["td.rowhead:contains('等级')", "td.rowhead:contains('等級')", "td.rowhead:contains('Class')"], + "filters": ["query.next().find('img').attr('title')", "query.replace(/[^a-z0-9 ]/gi, '').trim().length > 0 ? query.replace(/[^a-z0-9 ]/gi, '').trim() : query"] + }, + "bonus": { + "selector": ["td.rowhead:contains('金元宝') + td", "td.rowfollow:contains('金元宝')", "td.rowhead:contains('bonus') + td"], "filters": [ - "query ? parseFloat(query.attr('title').match(/[\\d.]+/)) : null" + "query.is(\":contains('金元宝:')\")||query.is(\":contains('Bonus Points:')\")?query.text().replace(/,/g,'').match(/(?:金元宝|Bonus Points).+?([\\d.]+)/)[1]:query.text().replace(/,/g,'')", + "parseFloat(query)" ] }, - "status": { + "seedingPoints": { "selector": [ - "> td.rowfollow:eq(1) td.embedded:eq(0) > div:last" + "td.rowhead:contains('做种积分') + td", + "td.rowhead:contains('Seeding Points') + td", + "td.rowhead:contains('做種積分') + td", + "td.rowhead:contains('保种积分') + td", + "td.rowfollow:contains('做种积分')", + "td.rowfollow:contains('Seeding Points')", + "td.rowfollow:contains('做種積分')" ], "filters": [ - "query ? query.attr('title') : ''", - "query.indexOf('seeding') != -1 ? 2 : query.indexOf('leeching') != -1 ? 1 : query.indexOf('100%') != -1 ? 255 : 3" + "query.text().replace(/,/g,'')", + "query.includes('做种积分') || query.includes('做種積分') || query.includes('Seeding Points') ? query.match(/(做种积分|做種積分|Seeding Points).+?[\\d.]+/g)[0] : query", + "query ? parseFloat(query.match(/[\\d.]+/)[0]) : null" ] + }, + "joinTime": { + "selector": ["td.rowhead:contains('加入日期')", "td.rowhead:contains('Join'):contains('date')"], + "filters": ["query.next().text().split(' (')[0].trim()", "dateTime(query).isValid()?dateTime(query).valueOf():query"] + }, + "unsatisfieds": { + "selector": ["a[href*='myhr.php']:last"], + "filters": ["query.length ? parseInt(query.text().match(/[\\d.]+/)[0]) : null"] } } + }, + "userSeedingTorrents": { + "page": "/getusertorrentlistajax.php?userid=$user.id$&type=seeding", + "fields": { + "seeding": { + "selector": ["b:first"], + "filters": ["query.text()"] + }, + "seedingSize": { + "selector": "", + "filters": [ + "query.text().match(/总大小:(.*?)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 + } +}