From 719362acf6aefea0de4ec3017ba531f7db030fe6 Mon Sep 17 00:00:00 2001 From: vanch Date: Thu, 27 Mar 2025 22:09:55 +0800 Subject: [PATCH 1/6] =?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/6] =?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/6] =?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/6] =?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/6] =?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/6] =?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" ] }