diff --git a/deploy/index.ts b/deploy/index.ts index b9908e696..3b7ed3cb4 100644 --- a/deploy/index.ts +++ b/deploy/index.ts @@ -28,11 +28,6 @@ class Deployer { new Package().zip(); } else {} } - - /** - * 发布至应用市场 - * @param file - */ } new Deployer(); diff --git a/deploy/package.ts b/deploy/package.ts index e5c87d6b2..949a2dc78 100644 --- a/deploy/package.ts +++ b/deploy/package.ts @@ -1,6 +1,5 @@ import * as fs from "fs"; import * as archiver from "archiver"; -import * as crx3 from "crx3"; import * as PATH from "path"; import * as ChromeExtension from "crx"; @@ -135,28 +134,4 @@ export default class Package { }); }); } - - /** - * 打包 crx3 - * 该方法打包时,会将 prodversionmin 限定为最低 '64.0.3242' ,会导致其他浏览器因版本问题无法更新 - */ - public crx3(): Promise { - return new Promise((resolve?: any, reject?: any) => { - console.log("正在打包 crx"); - crx3([PATH.join(this.rootPath, "dist/manifest.json")], { - keyPath: PATH.join(this.rootPath, "releases/key.pem"), - crxPath: this.crxFile, - zipPath: this.zipFile, - xmlPath: PATH.join(this.rootPath, "update/index.xml"), - crxURL: this.crxURL - }) - .then(() => { - console.log("打包完成 %s", this.crxFile); - resolve(this.crxFile); - }) - .catch(error => { - reject(error); - }); - }); - } } diff --git a/package.json b/package.json index bdba8cade..a367628b6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "pt-plugin-plus", - "version": "1.5.2", + "version": "1.6.0", "author": { "name": "ronggang", "url": "https://github.com/ronggang" @@ -25,9 +25,7 @@ "build:content": "webpack --config webpack/prod-content.js --progress", "zip": "ts-node --skip-project ./deploy/index.ts -z", "package": "ts-node --skip-project ./deploy/index.ts -p", - "release": "yarn build && yarn package", - "deploy:chrome": "ts-node --skip-project ./deploy/index.ts -pc", - "deploy": "yarn build && yarn deploy:chrome" + "release": "yarn build && yarn package" }, "dependencies": { "@typescript-eslint/eslint-plugin": "^4.4.0", @@ -80,7 +78,6 @@ "babel-eslint": "^10.0.1", "copy-webpack-plugin": "^4.6.0", "crx": "^5.0.1", - "crx3": "^1.1.3", "eslint": "^7.32.0", "eslint-plugin-vue": "^9.0.0", "git-commit-id": "^2.0.1", diff --git a/public/_locales/zh_CN/messages.json b/public/_locales/zh_CN/messages.json index 47f021fa7..3dcaa10bf 100644 --- a/public/_locales/zh_CN/messages.json +++ b/public/_locales/zh_CN/messages.json @@ -3,7 +3,7 @@ "message": "PT Plugin Plus" }, "manifest_shortName": { - "message": "PT Plugin Plus" + "message": "PTPP" }, "manifest_appDescription": { "message": "PT 助手,一个可以提升 PT 站点使用效率的工具。" diff --git a/public/libs/materialIcons/font.woff2 b/public/libs/materialIcons/font.woff2 index 981163303..5492a6e75 100644 Binary files a/public/libs/materialIcons/font.woff2 and b/public/libs/materialIcons/font.woff2 differ diff --git a/public/libs/materialIcons/style.css b/public/libs/materialIcons/style.css index 1b9c13697..4bc5c6ccb 100644 --- a/public/libs/materialIcons/style.css +++ b/public/libs/materialIcons/style.css @@ -18,6 +18,5 @@ white-space: nowrap; word-wrap: normal; direction: ltr; - -webkit-font-feature-settings: 'liga'; -webkit-font-smoothing: antialiased; -} \ No newline at end of file +} diff --git a/public/manifest.json b/public/manifest.json index eb2db32fb..510ea0306 100644 --- a/public/manifest.json +++ b/public/manifest.json @@ -1,7 +1,7 @@ { "name": "__MSG_manifest_appName__", "short_name": "__MSG_manifest_shortName__", - "version": "1.5.2", + "version": "1.6.0", "description": "__MSG_manifest_appDescription__", "manifest_version": 2, "default_locale": "zh_CN", diff --git a/resource/sites/audiences.me/config.json b/resource/sites/audiences.me/config.json index eb585f71f..ef5c8bff7 100644 --- a/resource/sites/audiences.me/config.json +++ b/resource/sites/audiences.me/config.json @@ -14,68 +14,68 @@ "schema": "NexusPHP", "host": "audiences.me", "levelRequirements": [{ - "level": "1", + "level": "1", "name": "Power User", "interval": "5", "downloaded": "120GB", "ratio": "2.0", - "seedingPoints": "0", + "seedingPoints": "160000", "privilege": "查看NFO文档;查看用户列表;请求续种;查看其它用户的种子历史;删除自己上传的字幕" },{ - "level": "2", + "level": "2", "name": "Elite User", "interval": "15", "downloaded": "240GB", "ratio": "2.5", - "seedingPoints": "0", + "seedingPoints": "250000", "privilege": "无" },{ - "level": "3", + "level": "3", "name": "Crazy User", "interval": "24", "downloaded": "400GB", "ratio": "3.0", - "seedingPoints": "0", + "seedingPoints": "360000", "privilege": "查看排行榜" },{ - "level": "4", + "level": "4", "name": "Insane User", "interval": "40", "downloaded": "600GB", "ratio": "3.5", - "seedingPoints": "0", + "seedingPoints": "500000", "privilege": "无" },{ - "level": "5", + "level": "5", "name": "Veteran User", "interval": "60", "downloaded": "900GB", "ratio": "4.0", - "seedingPoints": "0", + "seedingPoints": "660000", "privilege": "查看其它用户的评论、帖子历史" },{ - "level": "6", + "level": "6", "name": "Extreme User", "interval": "80", - "downloaded": "2048BB", + "downloaded": "2048GB", "ratio": "4.5", - "seedingPoints": "0", + "seedingPoints": "880000", "privilege": "永远保留账号;更新过期的外部信息" },{ - "level": "7", + "level": "7", "name": "Ultimate User", "interval": "100", "downloaded": "4096GB", - "ratio": "5.0", - "seedingPoints": "0", + "ratio": "4.5", + "seedingPoints": "1080000", "privilege": "无" },{ - "level": "8", + "level": "8", "name": "Nexus Master", "interval": "112", "downloaded": "8192GB", "ratio": "5.0", - "seedingPoints": "0", + "seedingPoints": "1280000", "privilege": "无" }], "collaborator": "Audiences", diff --git a/resource/sites/carpt.net/config.json b/resource/sites/carpt.net/config.json index aa6e0fd92..fe0021d56 100644 --- a/resource/sites/carpt.net/config.json +++ b/resource/sites/carpt.net/config.json @@ -7,6 +7,80 @@ "tags": [], "schema": "NexusPHP", "host": "carpt.net", + "levelRequirements": [ + { + "level": 1, + "name": "Power User", + "interval": "4", + "downloaded": "50GB", + "ratio": "2", + "seedingPoints": "40000", + "privilege": "得到一个邀请名额;可以直接发布种子;可以查看NFO文档;可以查看用户列表;可以请求续种;可以查看排行榜;可以查看其它用户的种子历史(如果用户隐私等级未设置为\"强\");可以删除自己上传的字幕。" + }, + { + "level": 2, + "name": "Elite User", + "interval": "8", + "downloaded": "120GB", + "ratio": "3", + "seedingPoints": "80000", + "privilege": "Elite User及以上用户封存账号后不会被删除。" + }, + { + "level": 3, + "name": "Crazy User", + "interval": "15", + "downloaded": "300GB", + "ratio": "4", + "seedingPoints": "150000", + "privilege": "得到两个邀请名额;可以在做种/下载/发布的时候选择匿名模式。" + }, + { + "level": 4, + "name": "Insane User", + "interval": "25", + "downloaded": "500GB", + "ratio": "5", + "seedingPoints": "250000", + "privilege": "可以查看普通日志。" + }, + { + "level": 5, + "name": "Veteran User", + "interval": "40", + "downloaded": "750GB", + "ratio": "6", + "seedingPoints": "400000", + "privilege": "得到三个邀请名额;可以查看其它用户的评论、帖子历史。" + }, + { + "level": 6, + "name": "Extreme User", + "interval": "60", + "downloaded": "1TB", + "ratio": "7", + "seedingPoints": "600000", + "privilege": "可以更新过期的外部信息;可以查看Extreme User论坛;Extreme User及以上用户会永远保留账号。" + }, + { + "level": 7, + "name": "Ultimate User", + "interval": "80", + "downloaded": "1.5TB", + "ratio": "8", + "seedingPoints": "800000", + "privilege": "得到五个邀请名额。" + }, + { + "level": 8, + "name": "Nexus Master", + "interval": "100", + "downloaded": "3TB", + "ratio": "9", + "seedingPoints": "1000000", + "privilege": "得到十个邀请名额;可以发送邀请。" + } + ], "collaborator": "koal", "selectors": { "userSeedingTorrents": { @@ -31,4 +105,4 @@ } } } -} \ No newline at end of file +} diff --git a/resource/sites/cinemageddon.net/config.json b/resource/sites/cinemageddon.net/config.json index 4c38b45e2..67768ca21 100644 --- a/resource/sites/cinemageddon.net/config.json +++ b/resource/sites/cinemageddon.net/config.json @@ -16,6 +16,24 @@ "pages": ["/browse.php"], "scripts": ["/schemas/NexusPHP/common.js", "browse.js"] }], + "levelRequirements": [ + { + "level": "1", + "name": "Power User", + "uploaded": "25GB", + "downloaded": "20GB", + "ratio": "1.2", + "privilege": "Maximum of 8 concurrent downloads" + }, + { + "level": "2", + "name": "CG Superfan", + "uploaded": "200GB", + "downloaded": "20GB", + "ratio": "1.5", + "privilege": "Maximum of 12 concurrent downloads" + } + ], "searchEntryConfig": { "page": "/browse.php", "resultType": "html", diff --git a/resource/sites/filelist.io/config.json b/resource/sites/filelist.io/config.json index 8059a1127..2a01bce3a 100644 --- a/resource/sites/filelist.io/config.json +++ b/resource/sites/filelist.io/config.json @@ -16,6 +16,32 @@ "scripts": ["/schemas/NexusPHP/common.js", "browse.js"] }], "host": "filelist.io", + "levelRequirements": [ + { + "level": 1, + "name": "Power User", + "interval": "4", + "downloaded": "25GB", + "ratio": "1.05", + "privilege": "It can download DOX files larger than 1MB. This class has the right to apply to uploader status." + }, + { + "level": 2, + "name": "Addict", + "interval": "26", + "downloaded": "500GB", + "ratio": "4.00", + "privilege": "This class has the right to request a Custom Title. This class is entitled to requests." + }, + { + "level": 3, + "name": "Elite", + "interval": "209", + "downloaded": "4TB", + "ratio": "5.00", + "privilege": "This class gives you the right to give reputation to other users." + } + ], "searchEntryConfig": { "page": "/browse.php", "queryString": "search=$key$&cat=0&searchin=1&sort=2", @@ -90,4 +116,4 @@ } } } -} \ No newline at end of file +} diff --git a/resource/sites/gainbound.net/config.json b/resource/sites/gainbound.net/config.json index 52a68b7e1..48e9a04e4 100644 --- a/resource/sites/gainbound.net/config.json +++ b/resource/sites/gainbound.net/config.json @@ -6,6 +6,80 @@ "tags": ["高清","电影","纪录片"], "schema": "NexusPHP", "host": "gainbound.net", + "levelRequirements":[ + { + "level": 1, + "name": "Power User", + "interval": "5", + "downloaded": "50GB", + "ratio": "1.05", + "seedingPoints": "40000", + "privilege": "得到3个邀请名额;可以查看邀请区;可以直接发布种子;可以查看NFO文档;可以查看用户列表;可以请求续种; 可以发送邀请; 可以查看排行榜;可以查看其它用户的种子历史(如果用户隐私等级未设置为\"强\"); 可以删除自己上传的字幕。" + }, + { + "level": 2, + "name": "Elite User", + "interval": "10", + "downloaded": "120GB", + "ratio": "1.55", + "seedingPoints": "80000", + "privilege": "得到1个邀请名额,三袋弟子及以上用户封存账号后不会被删除。" + }, + { + "level": 3, + "name": "Crazy User", + "interval": "15", + "downloaded": "300GB", + "ratio": "2.05", + "seedingPoints": "150000", + "privilege": "得到2个邀请名额;可以在做种/下载/发布的时候选择匿名模式。" + }, + { + "level": 4, + "name": "Insane User", + "interval": "25", + "downloaded": "500GB", + "ratio": "2.55", + "seedingPoints": "250000", + "privilege": "得到1个邀请名额,可以查看普通日志。" + }, + { + "level": 5, + "name": "Veteran User", + "interval": "40", + "downloaded": "750GB", + "ratio": "3.05", + "seedingPoints": "400000", + "privilege": "得到3个邀请名额;可以查看其它用户的评论、帖子历史。六袋长老及以上用户会永远保留账号。" + }, + { + "level": 6, + "name": "Extreme User", + "interval": "60", + "downloaded": "1TB", + "ratio": "3.55", + "seedingPoints": "600000", + "privilege": "得到1个邀请名额,可以更新过期的外部信息;可以查看Extreme User论坛。" + }, + { + "level": 7, + "name": "Ultimate User", + "interval": "80", + "downloaded": "1.5TB", + "ratio": "4.05", + "seedingPoints": "800000", + "privilege": "得到3个邀请名额。" + }, + { + "level": 8, + "name": "Nexus Master", + "interval": "100", + "downloaded": "3TB", + "ratio": "4.55", + "seedingPoints": "1000000", + "privilege": "得到5个邀请名额。" + } + ], "selectors": { "userSeedingTorrents": { "page": "/getusertorrentlistajax.php?userid=$user.id$&type=seeding", @@ -66,4 +140,4 @@ ] } ] - } \ No newline at end of file + } diff --git a/resource/sites/greatposterwall.com/getSearchResult.js b/resource/sites/greatposterwall.com/getSearchResult.js index f57651bba..c621cc9dd 100644 --- a/resource/sites/greatposterwall.com/getSearchResult.js +++ b/resource/sites/greatposterwall.com/getSearchResult.js @@ -84,7 +84,8 @@ torrent.isNeutralLeech || torrent.isPersonalFreeleech ? " / Freeleech" - : ""), + : "") + + (torrent.releaseGroup ? ` / ${torrent.releaseGroup}` : ""), link: `${site.url}torrents.php?id=${group.groupId}&torrentid=${torrent.torrentId}`, url: `${site.url}torrents.php?action=download&id=${torrent.torrentId}&authkey=${authkey}&torrent_pass=${passkey}`, size: parseFloat(torrent.size), diff --git a/resource/sites/hd-torrents.org/config.json b/resource/sites/hd-torrents.org/config.json index b5529d5fa..b08aaf944 100644 --- a/resource/sites/hd-torrents.org/config.json +++ b/resource/sites/hd-torrents.org/config.json @@ -17,6 +17,29 @@ "styles": ["/libs/album/style.css"] }], "host": "hd-torrents.org", + "levelRequirements": [ + { + "level": 1, + "name": "HD Maniac", + "uploaded": "50GB", + "ratio": "1.05", + "privilege": "Gain access to \"Top 10\"" + }, + { + "level": 2, + "name": "HD Monster", + "uploaded": "250GB", + "ratio": "2.00", + "privilege": "Gain access to \"Tracker Info\", \"Invites\" section of the forums" + }, + { + "level": 3, + "name": "HD Daemon", + "uploaded": "1TB", + "ratio": "4.00", + "privilege": "Gain access to \"Users\"" + } + ], "searchEntryConfig": { "page": "/torrents.php", "beforeSearch": { @@ -155,4 +178,4 @@ } } } -} \ No newline at end of file +} diff --git a/resource/sites/hd.ai/config.json b/resource/sites/hd.ai/config.json index 9cdcbd6d9..87b6f36ac 100644 --- a/resource/sites/hd.ai/config.json +++ b/resource/sites/hd.ai/config.json @@ -9,6 +9,63 @@ "影视" ], "host": "hd.ai", + "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": "Elite User及以上用户封存账号后不会被删除" + },{ + "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": "得到三个邀请名额;可以查看其它用户的评论、帖子历史。Veteran User及以上用户会永远保留账号" + },{ + "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": "得到十个邀请名额" + }], "formerHosts": [], "plugins": [], "collaborator": ["indeedsi"], diff --git a/resource/sites/hdatmos.club/config.json b/resource/sites/hdatmos.club/config.json index 988bf7ef9..eab0a4bf6 100644 --- a/resource/sites/hdatmos.club/config.json +++ b/resource/sites/hdatmos.club/config.json @@ -70,12 +70,12 @@ "page": "/getusertorrentlistajax.php?userid=$user.id$&type=seeding", "fields": { "seeding": { - "selector": ["tr:not(:eq(0))"], - "filters": ["query.find('td.rowfollow:eq(3)').length != 0 ? query.find('td.rowfollow:eq(3)').length : query.length"] + "selector": ["body"], + "filters": ["query.text().replace(/,/g,'').match(/[\\d]+/)", "query ? query[0] : 0"] }, "seedingSize": { - "selector": ["tr:not(:eq(0))"], - "filters": ["query.find('td.rowfollow:eq(3)').length != 0 ? jQuery.map(query.find('td.rowfollow:eq(3)'), (item)=>{return $(item).text();}) : jQuery.map(query.find('td:eq(3)'), (item)=>{return $(item).text();})", "_self.getTotalSize(query)"] + "selector": ["body"], + "filters": ["query.text().replace(/,/g,'').match(/([\\d.]+ ?[ZEPTGMK]?i?B)/)", "query ? query[0].sizeToNumber() : 0"] } } } diff --git a/resource/sites/hdbits.org/config.json b/resource/sites/hdbits.org/config.json index 3d3807f84..bded7c343 100644 --- a/resource/sites/hdbits.org/config.json +++ b/resource/sites/hdbits.org/config.json @@ -16,7 +16,33 @@ "scripts": ["/schemas/NexusPHP/common.js", "browse.js"] }], "host": "hdbits.org", - "searchEntryConfig": { + "levelRequirements": [ + { + "level": "1", + "name": "1080i", + "interval": "4", + "downloaded": "30GB", + "ratio": "0.95", + "privilege": "You can view NFOs and request reseeds on poorly seeded torrents." + }, + { + "level": "2", + "name": "1080p", + "interval": "4", + "downloaded": "500GB", + "ratio": "1.4", + "privilege": "As 1080i" + }, + { + "level": "3", + "name": "UHD", + "interval": "4", + "downloaded": "500GB", + "ratio": "2.5", + "privilege": "As 1080i" + } + ], +"searchEntryConfig": { "page": "/browse.php", "queryString": "search=$key$", "resultType": "html", diff --git a/resource/sites/hdcity.city/config.json b/resource/sites/hdcity.city/config.json index 860e603f2..5b05177e7 100644 --- a/resource/sites/hdcity.city/config.json +++ b/resource/sites/hdcity.city/config.json @@ -15,6 +15,72 @@ }], "schema": "NexusPHP", "host": "hdcity.city", + "levelRequirements": [ + { + "level": 1, + "name": "Power Angel", + "interval": "4", + "uploaded": "50GB", + "ratio": "1.0", + "privilege": "可以请求续种;可以查看其它用户的种子历史(如果用户隐私等级未设置为\"强\")。" + }, + { + "level": 2, + "name": "Elite Angel", + "interval": "8", + "uploaded": "150GB", + "ratio": "1.1", + "privilege": "权天使及以上等级封存账号后不会被删除。" + }, + { + "level": 3, + "name": "Crazy Angel", + "interval": "12", + "uploaded": "500GB", + "ratio": "1.5", + "privilege": "可以在做种/下载/发布的时候选择匿名模式。" + }, + { + "level": 4, + "name": "Insane Angel", + "interval": "16", + "uploaded": "1TB", + "ratio": "2.0", + "privilege": "可以查看普通日志。" + }, + { + "level": 5, + "name": "Veteran Angel", + "interval": "24", + "uploaded": "5TB", + "ratio": "2.5", + "privilege": "主天使及以上市民会永远保留账号。" + }, + { + "level": 6, + "name": "Extreme Angel", + "interval": "36", + "uploaded": "10TB", + "ratio": "2.6", + "privilege": "无" + }, + { + "level": 7, + "name": "Ultimate Angel", + "interval": "72", + "uploaded": "20TB", + "ratio": "2.8", + "privilege": "比较牛逼的等级。" + }, + { + "level": 8, + "name": "Master Angel", + "interval": "100", + "uploaded": "40TB", + "ratio": "4.0", + "privilege": "最牛逼的市民,或特殊任务分配。" + } + ], "collaborator": "waldens", "searchEntryConfig": { "page": "/pt", diff --git a/resource/sites/hddolby.com/config.json b/resource/sites/hddolby.com/config.json index d594e34d7..baeda2854 100644 --- a/resource/sites/hddolby.com/config.json +++ b/resource/sites/hddolby.com/config.json @@ -10,6 +10,80 @@ "综合" ], "host": "hddolby.com", + "levelRequirements": [ + { + "level": 1, + "name": "Power User", + "interval": "2", + "downloaded": "120GB", + "ratio": "2.0", + "seedingPoints": "47040", + "privilege": "得到0个邀请名额;可以直接发布种子;可以查看NFO文档;可以查看用户列表;可以请求续种; 可以查看排行榜;可以查看其它用户的种子历史(如果用户隐私等级未设置为\"强\"); 可以删除自己上传的字幕。" + }, + { + "level": 2, + "name": "Elite User", + "interval": "4", + "downloaded": "256GB", + "ratio": "2.5", + "seedingPoints": "94080", + "privilege": "Elite User及以上用户封存账号后不会被删除。" + }, + { + "level": 3, + "name": "Crazy User", + "interval": "8", + "downloaded": "512GB", + "ratio": "3.0", + "seedingPoints": "188160", + "privilege": "得到0个邀请名额;可以在做种/下载/发布的时候选择匿名模式。" + }, + { + "level": 4, + "name": "Insane User", + "interval": "12", + "downloaded": "768GB", + "ratio": "3.5", + "seedingPoints": "282240", + "privilege": "无" + }, + { + "level": 5, + "name": "Veteran User", + "interval": "16", + "downloaded": "1TB", + "ratio": "4.0", + "seedingPoints": "376320", + "privilege": "可以查看其它用户的评论、帖子历史。" + }, + { + "level": 6, + "name": "Extreme User", + "interval": "20", + "downloaded": "2TB", + "ratio": "4.5", + "seedingPoints": "470400", + "privilege": "Extreme User及以上用户会永远保留账号。" + }, + { + "level": 7, + "name": "Ultimate User", + "interval": "24", + "downloaded": "4TB", + "ratio": "5.0", + "seedingPoints": "564480", + "privilege": "无" + }, + { + "level": 8, + "name": "Nexus Master", + "interval": "48", + "downloaded": "8TB", + "ratio": "5.5", + "seedingPoints": "1128960", + "privilege": "无" + } + ], "collaborator": ["iceyuamao0510", "tongyifan"], "searchEntryConfig": { "fieldSelector": { diff --git a/resource/sites/hdfans.org/config.json b/resource/sites/hdfans.org/config.json index edadb5840..e38e9aeb9 100644 --- a/resource/sites/hdfans.org/config.json +++ b/resource/sites/hdfans.org/config.json @@ -7,6 +7,71 @@ "tags": ["综合", "电影", "电视剧", "纪录片"], "schema": "NexusPHP", "host": "hdfans.org", + "levelRequirements": [{ + "level": "1", + "name": "Power User", + "interval": "4", + "downloaded": "50GB", + "ratio": "1.0", + "seedingPoints": "50000", + "privilege": "得到一个邀请名额;可以直接发布种子;可以删除自己上传的字幕" + },{ + "level": "2", + "name": "Elite User", + "interval": "8", + "downloaded": "120GB", + "ratio": "1.5", + "seedingPoints": "100000", + "privilege": "无" + },{ + "level": "3", + "name": "Crazy User", + "interval": "15", + "downloaded": "256GB", + "ratio": "2.0", + "seedingPoints": "250000", + "privilege": "得到两个邀请名额;可以在做种/下载/发布的时候选择匿名模式" + },{ + "level": "4", + "name": "Insane User", + "interval": "30", + "downloaded": "512GB", + "ratio": "2.5", + "seedingPoints": "400000", + "privilege": "可以查看普通日志" + },{ + "level": "5", + "name": "Veteran User", + "interval": "40", + "downloaded": "1TB", + "ratio": "3.0", + "seedingPoints": "600000", + "privilege": "得到三个邀请名额;可以查看其它用户的评论、帖子历史" + },{ + "level": "6", + "name": "Extreme User", + "interval": "50", + "downloaded": "2TB", + "ratio": "3.5", + "seedingPoints": "800000", + "privilege": "可以更新过期的外部信息;可以查看Extreme User论坛;Extreme User及以上用户会永远保留账号" + },{ + "level": "7", + "name": "Ultimate User", + "interval": "60", + "downloaded": "4TB", + "ratio": "4.0", + "seedingPoints": "1000000", + "privilege": "得到五个邀请名额" + },{ + "level": "8", + "name": "Nexus Master", + "interval": "100", + "downloaded": "10TB", + "ratio": "5.0", + "seedingPoints": "1688888", + "privilege": "得到十个邀请名额" + }], "collaborator": "csi0n", "selectors": { "userSeedingTorrents": { diff --git a/resource/sites/hdhome.org/config.json b/resource/sites/hdhome.org/config.json index 1fb9de20a..6c48b6a10 100644 --- a/resource/sites/hdhome.org/config.json +++ b/resource/sites/hdhome.org/config.json @@ -10,6 +10,71 @@ ], "schema": "NexusPHP", "host": "hdhome.org", + "levelRequirements": [{ + "level": "1", + "name": "Power User", + "interval": "5", + "downloaded": "128GB", + "ratio": "1.6", + "seedingPoints": "40000", + "privilege": "无" + },{ + "level": "2", + "name": "Elite User", + "interval": "5", + "downloaded": "256GB", + "ratio": "1.9", + "seedingPoints": "100000", + "privilege": "无" + },{ + "level": "3", + "name": "Crazy User", + "interval": "10", + "downloaded": "512GB", + "ratio": "2.3", + "seedingPoints": "180000", + "privilege": "可以在做种/下载/发布的时候选择匿名模式" + },{ + "level": "4", + "name": "Insane User", + "interval": "10", + "downloaded": "768GB", + "ratio": "2.7", + "seedingPoints": "280000", + "privilege": "可以查看普通日志" + },{ + "level": "5", + "name": "Veteran User", + "interval": "20", + "downloaded": "1TB", + "ratio": "3.2", + "seedingPoints": "400000", + "privilege": "可以查看其它用户的评论、帖子历史" + },{ + "level": "6", + "name": "Extreme User", + "interval": "20", + "downloaded": "2TB", + "ratio": "3.7", + "seedingPoints": "540000", + "privilege": "得到1个邀请名额,可以更新过期的外部信息;可以查看Extreme User论坛" + },{ + "level": "7", + "name": "Ultimate User", + "interval": "30", + "downloaded": "4TB", + "ratio": "4.2", + "seedingPoints": "700000", + "privilege": "得到1个邀请名额" + },{ + "level": "8", + "name": "Nexus Master", + "interval": "30", + "downloaded": "8TB", + "ratio": "5.0", + "seedingPoints": "1000000", + "privilege": "得到1个邀请名额;账号永久保留" + }], "collaborator": "tongyifan", "plugins": [ { diff --git a/resource/sites/hdmayi.com/config.json b/resource/sites/hdmayi.com/config.json index 202825438..4412ffeef 100644 --- a/resource/sites/hdmayi.com/config.json +++ b/resource/sites/hdmayi.com/config.json @@ -7,6 +7,81 @@ "tags": [], "schema": "NexusPHP", "host": "hdmayi.com", + "levelRequirements": + [ + { + "level": 1, + "name": "Power User", + "interval": "4", + "downloaded": "50GB", + "ratio": "1.05", + "seedingPoints": "20000", + "privilege": "得到一个邀请名额;可以直接发布种子;可以查看NFO文档;可以查看用户列表;可以请求续种; 可以发送邀请; 可以查看排行榜;可以查看其它用户的种子历史(如果用户隐私等级未设置为\"强\"); 可以删除自己上传的字幕。" + }, + { + "level": 2, + "name": "Elite User", + "interval": "8", + "downloaded": "120GB", + "ratio": "1.55", + "seedingPoints": "40000", + "privilege": "Elite User及以上用户封存账号后不会被删除。" + }, + { + "level": 3, + "name": "Crazy User", + "interval": "15", + "downloaded": "300GB", + "ratio": "2.05", + "seedingPoints": "80000", + "privilege": "得到两个邀请名额;可以在做种/下载/发布的时候选择匿名模式。" + }, + { + "level": 4, + "name": "Insane User", + "interval": "25", + "downloaded": "500GB", + "ratio": "2.55", + "seedingPoints": "120000", + "privilege": "可以查看普通日志。" + }, + { + "level": 5, + "name": "Veteran User", + "interval": "40", + "downloaded": "750GB", + "ratio": "3.05", + "seedingPoints": "200000", + "privilege": "得到三个邀请名额;可以查看其它用户的评论、帖子历史。Veteran User及以上用户会永远保留账号。" + }, + { + "level": 6, + "name": "Extreme User", + "interval": "60", + "downloaded": "1TB", + "ratio": "3.55", + "seedingPoints": "300000", + "privilege": "可以更新过期的外部信息;可以查看Extreme User论坛。" + }, + { + "level": 7, + "name": "Ultimate User", + "interval": "80", + "downloaded": "1.5TB", + "ratio": "4.05", + "seedingPoints": "400000", + "privilege": "得到五个邀请名额。" + }, + { + "level": 8, + "name": "Nexus Master", + "interval": "100", + "downloaded": "3TB", + "ratio": "4.55", + "seedingPoints": "1000000", + "privilege": "得到十个邀请名额。" + } + ], "collaborator": "koal", "selectors": { "userSeedingTorrents": { @@ -27,4 +102,4 @@ } } } -} \ No newline at end of file +} diff --git a/resource/sites/hdpt.xyz/config.json b/resource/sites/hdpt.xyz/config.json index dc190a683..bfe0e1982 100644 --- a/resource/sites/hdpt.xyz/config.json +++ b/resource/sites/hdpt.xyz/config.json @@ -7,6 +7,80 @@ "tags": ["影视", "综合"], "schema": "NexusPHP", "host": "hdpt.xyz", + "levelRequirements": [ + { + "level": 1, + "name": "Power User", + "interval": "4", + "downloaded": "200GB", + "ratio": "2", + "seedingPoints": "50000", + "privilege": "得到一个邀请名额;可以直接发布种子;可以请求续种; 可以发送邀请。" + }, + { + "level": 2, + "name": "Elite User", + "interval": "8", + "downloaded": "400GB", + "ratio": "3", + "seedingPoints": "110000", + "privilege": "得到一个邀请名额。" + }, + { + "level": 3, + "name": "Crazy User", + "interval": "15", + "downloaded": "700GB", + "ratio": "4", + "seedingPoints": "200000", + "privilege": "得到二个邀请名额。" + }, + { + "level": 4, + "name": "Insane User", + "interval": "25", + "downloaded": "1TB", + "ratio": "5", + "seedingPoints": "300000", + "privilege": "得到二个邀请名额;" + }, + { + "level": 5, + "name": "Veteran User", + "interval": "40", + "downloaded": "2TB", + "ratio": "6", + "seedingPoints": "500000", + "privilege": "得到二个邀请名额。神蛇 (Veteran User)及以上等级的账号如果在封存后将保留,封存的账号如果连续400天不登录,将被封禁;未封存的账号如果连续90天不登录,将被封禁;没有流量的用户(即上传/下载数据都为0)如果连续90天不登录,将被封禁账号。" + }, + { + "level": 6, + "name": "Extreme User", + "interval": "60", + "downloaded": "3TB", + "ratio": "7", + "seedingPoints": "700000", + "privilege": "得到二个邀请名额;可以更新过期的外部信息;可以查看Extreme User论坛。紫微 (Extreme User)及以上用户会永远保留账号。" + }, + { + "level": 7, + "name": "Ultimate User", + "interval": "80", + "downloaded": "4TB", + "ratio": "8", + "seedingPoints": "1000000", + "privilege": "得到五个邀请名额。" + }, + { + "level": 8, + "name": "Nexus Master", + "interval": "100", + "downloaded": "8TB", + "ratio": "9", + "seedingPoints": "1500000", + "privilege": "得到七个邀请名额。" + } + ], "collaborator": "koal", "selectors": { "userSeedingTorrents": { @@ -158,4 +232,4 @@ } ] }] -} \ No newline at end of file +} diff --git a/resource/sites/hdtime.org/config.json b/resource/sites/hdtime.org/config.json index 2f6d68789..1fd2e53ac 100644 --- a/resource/sites/hdtime.org/config.json +++ b/resource/sites/hdtime.org/config.json @@ -7,6 +7,71 @@ "tags": ["影视", "综合"], "schema": "NexusPHP", "host": "hdtime.org", + "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": "150GB", + "ratio": "1.55", + "seedingPoints": "80000", + "privilege": "Elite User及以上用户封存账号后不会被删除" + },{ + "level": "3", + "name": "Crazy User", + "interval": "15", + "downloaded": "500GB", + "ratio": "2.05", + "seedingPoints": "150000", + "privilege": "得到两个邀请名额;可以在做种/下载/发布的时候选择匿名模式" + },{ + "level": "4", + "name": "Insane User", + "interval": "25", + "downloaded": "750GB", + "ratio": "2.55", + "seedingPoints": "250000", + "privilege": "可以查看普通日志" + },{ + "level": "5", + "name": "Veteran User", + "interval": "40", + "downloaded": "1.5TB", + "ratio": "3.05", + "seedingPoints": "400000", + "privilege": "免除增量考核;得到三个邀请名额;可以查看其它用户的评论、帖子历史。Veteran User及以上用户会永远保留账号" + },{ + "level": "6", + "name": "Extreme User", + "interval": "60", + "downloaded": "3TB", + "ratio": "3.55", + "seedingPoints": "600000", + "privilege": "可以更新过期的外部信息;可以查看Extreme User论坛" + },{ + "level": "7", + "name": "Ultimate User", + "interval": "80", + "downloaded": "5TB", + "ratio": "4.05", + "seedingPoints": "800000", + "privilege": "得到五个邀请名额" + },{ + "level": "8", + "name": "Nexus Master", + "interval": "100", + "downloaded": "10TB", + "ratio": "5.05", + "seedingPoints": "1000000", + "privilege": "得到十个邀请名额" + }], "selectors": { "userSeedingTorrents": { "page": "/getusertorrentlistajax.php?userid=$user.id$&type=seeding", diff --git a/resource/sites/hdvideo.one/config.json b/resource/sites/hdvideo.one/config.json index 8aec65b7d..4fb210068 100644 --- a/resource/sites/hdvideo.one/config.json +++ b/resource/sites/hdvideo.one/config.json @@ -7,6 +7,80 @@ "tags": [], "schema": "NexusPHP", "host": "hdvideo.one", + "levelRequirements": [ + { + "level": 1, + "name": "Power User", + "interval": "4", + "downloaded": "128GB", + "ratio": "2.0", + "seedingPoints": "60480", + "privilege": "得到一个邀请名额;可以直接发布种子;可以查看NFO文档;可以查看用户列表;可以请求续种; 可以发送邀请; 可以查看排行榜;可以查看其它用户的种子历史(如果用户隐私等级未设置为\"强\"); 可以删除自己上传的字幕。" + }, + { + "level": 2, + "name": "Elite User", + "interval": "8", + "downloaded": "256GB", + "ratio": "2.5", + "seedingPoints": "127680", + "privilege": "Elite User及以上用户封存账号后不会被删除。" + }, + { + "level": 3, + "name": "Crazy User", + "interval": "12", + "downloaded": "512GB", + "ratio": "3.0", + "seedingPoints": "191520", + "privilege": "可以在做种/下载/发布的时候选择匿名模式。" + }, + { + "level": 4, + "name": "Insane User", + "interval": "18", + "downloaded": "1TB", + "ratio": "3.5", + "seedingPoints": "317520", + "privilege": "得到两个邀请名额;可以查看普通日志。" + }, + { + "level": 5, + "name": "Veteran User", + "interval": "24", + "downloaded": "2TB", + "ratio": "4.0", + "seedingPoints": "423360", + "privilege": "可以查看其它用户的评论、帖子历史。Veteran User及以上用户会永远保留账号。" + }, + { + "level": 6, + "name": "Extreme User", + "interval": "32", + "downloaded": "4TB", + "ratio": "4.5", + "seedingPoints": "575232", + "privilege": "可以更新过期的外部信息;可以查看Extreme User论坛。" + }, + { + "level": 7, + "name": "Ultimate User", + "interval": "40", + "downloaded": "6TB", + "ratio": "5.0", + "seedingPoints": "719040", + "privilege": "得到三个邀请名额。" + }, + { + "level": 8, + "name": "Nexus Master", + "interval": "52", + "downloaded": "8TB", + "ratio": "5.5", + "seedingPoints": "934752", + "privilege": "得到五个邀请名额。" + } + ], "collaborator": "koal", "selectors": { "userSeedingTorrents": { @@ -31,4 +105,4 @@ } } } -} \ No newline at end of file +} diff --git a/resource/sites/hhanclub.top/config.json b/resource/sites/hhanclub.top/config.json index 2648debd5..e3185139c 100644 --- a/resource/sites/hhanclub.top/config.json +++ b/resource/sites/hhanclub.top/config.json @@ -7,6 +7,72 @@ "tags": [], "schema": "NexusPHP", "host": "hhanclub.top", + "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": "Elite User及以上用户封存账号后不会被删除。" + }, + { + "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": "得到三个邀请名额;可以查看其它用户的评论、帖子历史。Veteran User及以上用户会永远保留账号。" + }, + { + "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": "koal", "selectors": { "userSeedingTorrents": { @@ -31,4 +97,4 @@ } } } -} \ No newline at end of file +} diff --git a/resource/sites/iptorrents.com/config.json b/resource/sites/iptorrents.com/config.json index cbe95a6e7..edb984e77 100644 --- a/resource/sites/iptorrents.com/config.json +++ b/resource/sites/iptorrents.com/config.json @@ -7,6 +7,16 @@ "tags": ["综合"], "schema": "IPTorrents", "host": "iptorrents.com", + "levelRequirements": [ + { + "level": 1, + "name": "Power User", + "interval": "4", + "uploaded": "50GB", + "ratio": "1.05", + "privilege": "Are able to make requests for torrents, view the Top 10, and apply for Uploader status" + } + ], "supportedFeatures": { "userData": "◐" }, @@ -100,4 +110,4 @@ } } } -} \ No newline at end of file +} diff --git a/resource/sites/karagarga.in/config.json b/resource/sites/karagarga.in/config.json index 2610be914..f29b93405 100644 --- a/resource/sites/karagarga.in/config.json +++ b/resource/sites/karagarga.in/config.json @@ -17,7 +17,16 @@ "pages": ["/browse.php"], "scripts": ["/schemas/NexusPHP/common.js", "browse.js"] }], - "searchEntryConfig": { + "levelRequirements": [ + { + "level": "1", + "name": "Power User", + "interval": "13", + "uploaded": "50GB", + "ratio": "1.05" + } + ], +"searchEntryConfig": { "page": "/browse.php", "queryString": "search=$key$&search_type=torrent", "resultType": "html", diff --git a/resource/sites/kp.m-team.cc/config.json b/resource/sites/kp.m-team.cc/config.json index c44af6481..65ae418c9 100644 --- a/resource/sites/kp.m-team.cc/config.json +++ b/resource/sites/kp.m-team.cc/config.json @@ -7,6 +7,63 @@ "tags": ["影视", "综合","Adult"], "schema": "NexusPHP", "host": "kp.m-team.cc", + "levelRequirements": [{ + "level": "1", + "name": "Power User", + "interval": "4", + "downloaded": "200GB", + "ratio": "2", + "privilege": "魔力值加成:+1%;可以使用匿名發表候選種子;可以上傳字幕" + },{ + "level": "2", + "name": "Elite User", + "interval": "8", + "downloaded": "400GB", + "ratio": "3", + "privilege": "魔力值加成:+2%;可以發送邀請;可以管理自己上傳的字幕;可以檢視別人的下載紀錄(當對方的隱私權設定不為強才會生效);可以使用個性條" + },{ + "level": "3", + "name": "Crazy User", + "interval": "12", + "downloaded": "500GB", + "ratio": "4", + "privilege": "魔力值加成:+3%" + },{ + "level": "4", + "name": "Insane User", + "interval": "16", + "downloaded": "800GB", + "ratio": "5", + "privilege": "魔力值加成:+4%;可以檢視排行榜" + },{ + "level": "5", + "name": "Veteran User", + "interval": "20", + "downloaded": "1000GB", + "ratio": "6", + "privilege": "魔力值加成:+5%" + },{ + "level": "6", + "name": "Extreme User", + "interval": "24", + "downloaded": "2000GB", + "ratio": "7", + "privilege": "魔力值加成:+6%" + },{ + "level": "7", + "name": "Ultimate User", + "interval": "28", + "downloaded": "2500GB", + "ratio": "8", + "privilege": "魔力值加成:+7%" + },{ + "level": "8", + "name": "Nexus Master", + "interval": "32", + "downloaded": "3000GB", + "ratio": "9", + "privilege": "魔力值加成:+8%" + }], "formerHosts": [ "pt.m-team.cc", "tp.m-team.cc" diff --git a/resource/sites/ourbits.club/config.json b/resource/sites/ourbits.club/config.json index 64658796d..b2844c9ef 100644 --- a/resource/sites/ourbits.club/config.json +++ b/resource/sites/ourbits.club/config.json @@ -12,6 +12,63 @@ ], "schema": "NexusPHP", "host": "ourbits.club", + "levelRequirements": [{ + "level": "1", + "name": "Power User", + "interval": "5", + "downloaded": "100GB", + "ratio": "2.0", + "privilege": "可以查看NFO文档;可以查看用户列表;可以请求续种;可以查看排行榜;可以查看其它用户的种子历史(如果用户隐私等级未设置为\"强\");可以删除自己上传的字幕。最多可以同时下载20个种子" + },{ + "level": "2", + "name": "Elite User", + "interval": "10", + "downloaded": "350GB", + "ratio": "2.5", + "privilege": "Elite User及以上用户封存账号后不会被删除。此等级及以上没有下载数限制。可以查看论坛Elite User(邀请交流版)" + },{ + "level": "3", + "name": "Crazy User", + "interval": "15", + "downloaded": "500GB", + "ratio": "3.0", + "privilege": "可以在做种/下载/发布的时候选择匿名模式" + },{ + "level": "4", + "name": "Insane User", + "interval": "20", + "downloaded": "1TB", + "ratio": "3.5", + "privilege": "可以查看普通日志" + },{ + "level": "5", + "name": "Veteran User", + "interval": "25", + "downloaded": "2TB", + "ratio": "3.0", + "privilege": "可以查看其它用户的评论、帖子历史。Veteran User及以上用户会永远保留账号" + },{ + "level": "6", + "name": "Extreme User", + "interval": "30", + "downloaded": "4TB", + "ratio": "4.5", + "privilege": "得到一个永久邀请;可以更新过期的外部信息" + },{ + "level": "7", + "name": "Ultimate User", + "interval": "40", + "downloaded": "6TB", + "ratio": "4.0", + "privilege": "得到两个永久邀请" + },{ + "level": "8", + "name": "Nexus Master", + "interval": "52", + "downloaded": "8TB", + "ratio": "5.5", + "privilege": "得到三个永久邀请" + }], "collaborator": "Rhilip", "searchEntry": [{ "name": "全站", @@ -147,4 +204,4 @@ "name": "⛔️", "selector": "div.tag-jz" }] -} \ No newline at end of file +} diff --git a/resource/sites/piggo.me/config.json b/resource/sites/piggo.me/config.json index 927598ac8..e86bf9018 100644 --- a/resource/sites/piggo.me/config.json +++ b/resource/sites/piggo.me/config.json @@ -7,6 +7,71 @@ "tags": [], "schema": "NexusPHP", "host": "piggo.me", + "levelRequirements": [{ + "level": "1", + "name": "Power User", + "interval": "4", + "downloaded": "100GB", + "ratio": "2.0", + "seedingPoints": "40000", + "privilege": "可以直接发布种子;可以查看NFO文档;可以查看用户列表;可以请求续种;可以查看排行榜;可以查看其它用户的种子历史(如果用户隐私等级未设置为\"强\");可以删除自己上传的字幕" + },{ + "level": "2", + "name": "Elite User", + "interval": "8", + "downloaded": "300GB", + "ratio": "2.6", + "seedingPoints": "80000", + "privilege": "Elite User及以上用户封存账号后不会被删除" + },{ + "level": "3", + "name": "Crazy User", + "interval": "15", + "downloaded": "500GB", + "ratio": "3.0", + "seedingPoints": "150000", + "privilege": "得到两个邀请名额;可以在做种/下载/发布的时候选择匿名模式" + },{ + "level": "4", + "name": "Insane User", + "interval": "25", + "downloaded": "1TB", + "ratio": "3.6", + "seedingPoints": "250000", + "privilege": "可以查看普通日志" + },{ + "level": "5", + "name": "Veteran User", + "interval": "40", + "downloaded": "3TB", + "ratio": "4", + "seedingPoints": "400000", + "privilege": "得到三个邀请名额;可以查看其它用户的评论、帖子历史。Veteran User及以上用户会永远保留账号" + },{ + "level": "6", + "name": "Extreme User", + "interval": "60", + "downloaded": "3TB", + "ratio": "4.6", + "seedingPoints": "600000", + "privilege": "可以更新过期的外部信息;可以查看Extreme User论坛" + },{ + "level": "7", + "name": "Ultimate User", + "interval": "80", + "downloaded": "4TB", + "ratio": "5.0", + "seedingPoints": "800000", + "privilege": "得到五个邀请名额" + },{ + "level": "8", + "name": "Nexus Master", + "interval": "100", + "downloaded": "6TB", + "ratio": "6.0", + "seedingPoints": "1000000", + "privilege": "得到十个邀请名额" + }], "collaborator": "koal", "selectors": { "userSeedingTorrents": { @@ -31,4 +96,4 @@ } } } -} \ No newline at end of file +} diff --git a/resource/sites/pt.msg.vg/config.json b/resource/sites/pt.msg.vg/config.json index de846bdc2..7043d47dc 100644 --- a/resource/sites/pt.msg.vg/config.json +++ b/resource/sites/pt.msg.vg/config.json @@ -6,6 +6,72 @@ "description": "The Ultimate File Sharing Experience", "icon": "https://pt.msg.vg/favicon.ico", "host": "pt.msg.vg", + "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": "Elite User及以上用户封存账号后不会被删除。" + }, + { + "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论坛。。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": "bjgetite", "searchEntryConfig": { "fieldSelector": { @@ -28,4 +94,4 @@ } } } -} \ No newline at end of file +} diff --git a/resource/sites/ptchina.org/config.json b/resource/sites/ptchina.org/config.json index a610ffe3a..12a18bda6 100644 --- a/resource/sites/ptchina.org/config.json +++ b/resource/sites/ptchina.org/config.json @@ -7,6 +7,80 @@ "tags": [], "schema": "NexusPHP", "host": "ptchina.org", + "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": "koal", "selectors": { "userSeedingTorrents": { @@ -31,4 +105,4 @@ } } } -} \ No newline at end of file +} diff --git a/resource/sites/pterclub.com/config.json b/resource/sites/pterclub.com/config.json index ddf69f442..f45854de0 100644 --- a/resource/sites/pterclub.com/config.json +++ b/resource/sites/pterclub.com/config.json @@ -59,7 +59,7 @@ },{ "level": "8", "name": "Nexus Master", - "interval": "150", + "interval": "45", "downloaded": "3072GB", "ratio": "4.55", "privilege": "永远保留账号" @@ -146,4 +146,4 @@ "name": "⛔️", "selector": "a[href*='torrents.php?tag_exclusive=yes']" }] -} \ No newline at end of file +} diff --git a/resource/sites/ptsbao.club/config.json b/resource/sites/ptsbao.club/config.json index a0c504646..66edac58c 100644 --- a/resource/sites/ptsbao.club/config.json +++ b/resource/sites/ptsbao.club/config.json @@ -7,6 +7,64 @@ "icon": "https://ptsbao.club/favicon.ico", "tags": ["影视", "综合"], "host": "ptsbao.club", + "levelRequirements": [ + { + "level": 1, + "name": "Power User", + "interval": "1", + "downloaded": "50GB", + "ratio": "1.05" + }, + { + "level": 2, + "name": "Elite User", + "interval": "2", + "downloaded": "150GB", + "ratio": "1.55" + }, + { + "level": 3, + "name": "Crazy User", + "interval": "4", + "downloaded": "300GB", + "ratio": "2.05" + }, + { + "level": 4, + "name": "Insane User", + "interval": "8", + "downloaded": "500GB", + "ratio": "2.55" + }, + { + "level": 5, + "name": "Veteran User", + "interval": "16", + "downloaded": "750GB", + "ratio": "3.05" + }, + { + "level": 6, + "name": "Extreme User", + "interval": "24", + "downloaded": "1TB", + "ratio": "3.55" + }, + { + "level": 7, + "name": "Ultimate User", + "interval": "36", + "downloaded": "1.5TB", + "ratio": "4.05" + }, + { + "level": 8, + "name": "Nexus Master", + "interval": "52", + "downloaded": "3TB", + "ratio": "4.55" + } + ], "collaborator": ["laizony", "ted423"], "searchEntryConfig": { "merge": true, diff --git a/resource/sites/sdbits.org/config.json b/resource/sites/sdbits.org/config.json index 222ed955c..9e276f059 100644 --- a/resource/sites/sdbits.org/config.json +++ b/resource/sites/sdbits.org/config.json @@ -17,7 +17,33 @@ }], "host": "sdbits.org", "collaborator": "luckiestone", - "searchEntryConfig": { + "levelRequirements": [ + { + "level": "1", + "name": "DVD", + "interval": "4", + "downloaded": "30GB", + "ratio": "0.95", + "privilege": "Are able to leech 100 torrents at a time. You can view NFOs and request reseeds on poorly seeded torrents." + }, + { + "level": "2", + "name": "SuperBit", + "interval": "4", + "downloaded": "500GB", + "ratio": "1.4", + "privilege": "As DVD" + }, + { + "level": "3", + "name": "Criterion", + "interval": "4", + "downloaded": "500GB", + "ratio": "2.5", + "privilege": "As DVD" + } + ], +"searchEntryConfig": { "page": "/browse.php", "queryString": "search=$key$", "resultType": "html", diff --git a/resource/sites/speedapp.io/config.json b/resource/sites/speedapp.io/config.json index 9ef64360a..43c01b231 100644 --- a/resource/sites/speedapp.io/config.json +++ b/resource/sites/speedapp.io/config.json @@ -117,7 +117,7 @@ }, "levelName": { "selector": ["div.card-body.pt-4 >div.align-items-center div.text-muted"], - "filters": ["query.text().replace(/,|\\s|\\n/g,'')"] + "filters": ["$(query.contents()[0]).text().trim()"] }, "joinTime": { "selector": ["dt:contains('注册日期') + dd, dt:contains('Signup date') + dd, dt:contains('Data inregistrarii') + dd"], diff --git a/resource/sites/totheglory.im/config.json b/resource/sites/totheglory.im/config.json index 026cfd49f..02ef76330 100644 --- a/resource/sites/totheglory.im/config.json +++ b/resource/sites/totheglory.im/config.json @@ -87,14 +87,14 @@ "level": "10", "name": "NonaByte", "interval": "48", - "downloaded": "50TB", + "downloaded": "5TB", "ratio": "6.0", "privilege": "无" },{ "level": "11", "name": "DoggaByte", "interval": "48", - "downloaded": "100TB", + "downloaded": "10TB", "ratio": "6.0", "privilege": "无" }], @@ -316,4 +316,4 @@ } } } -} \ No newline at end of file +} diff --git a/resource/sites/wintersakura.net/config.json b/resource/sites/wintersakura.net/config.json index 50782621d..dd9cb1323 100644 --- a/resource/sites/wintersakura.net/config.json +++ b/resource/sites/wintersakura.net/config.json @@ -7,6 +7,72 @@ "tags": [], "schema": "NexusPHP", "host": "wintersakura.net", + "levelRequirements": [ + { + "level": 1, + "name": "Power User", + "downloaded": "50GB", + "ratio": "1", + "seedingPoints": "50000", + "privilege": "可以查看NFO文档;可以请求续种; 可以购买/发送邀请;可以删除自己上传的字幕。可以申请友情链接;可以使用个性条。" + }, + { + "level": 2, + "name": "Elite User", + "downloaded": "400GB", + "ratio": "1.5", + "seedingPoints": "120000", + "privilege": "可以查看种子结构;可以更新外部信息" + }, + { + "level": 3, + "name": "Crazy User", + "downloaded": "800GB", + "ratio": "2", + "seedingPoints": "200000", + "privilege": "可以在做种/下载/发布的时候选择匿名模式。" + }, + { + "level": 4, + "name": "Insane User", + "downloaded": "1.5TB", + "ratio": "3", + "seedingPoints": "500000", + "privilege": "可以查看排行榜。" + }, + { + "level": 5, + "name": "Veteran User", + "downloaded": "3TB", + "ratio": "4", + "seedingPoints": "800000", + "privilege": "可以查看其它用户种子历史。(只有用户的隐私等级没有设为’强‘时才生效)" + }, + { + "level": 6, + "name": "Extreme User", + "downloaded": "5TB", + "ratio": "6", + "seedingPoints": "1400000", + "privilege": "可以更新过期的外部信息。Extreme User 及以上用户封存账号后不会被删除" + }, + { + "level": 7, + "name": "Ultimate User", + "downloaded": "6TB", + "ratio": "8", + "seedingPoints": "2000000", + "privilege": "首次到达此等级得到1个邀请名额。" + }, + { + "level": 8, + "name": "Nexus Master", + "downloaded": "10TB", + "ratio": "9.5", + "seedingPoints": "2800000", + "privilege": "首次到达此等级得到1个邀请名额Nexus Master及以上用户会永远保留账号。" + } + ], "selectors": { "userSeedingTorrents": { "page": "/getusertorrentlistajax.php?userid=$user.id$&type=seeding", @@ -30,4 +96,4 @@ } } } -} \ No newline at end of file +} diff --git a/resource/sites/world-in-hd.net/config.json b/resource/sites/world-in-hd.net/config.json index 3c0f68479..8e1747e20 100644 --- a/resource/sites/world-in-hd.net/config.json +++ b/resource/sites/world-in-hd.net/config.json @@ -16,7 +16,30 @@ "pages": ["/torrents"], "scripts": ["/schemas/NexusPHP/common.js", "browse.js"] }], - "searchEntryConfig": { + "levelRequirements": [ + { + "level": "1", + "name": "720p", + "interval": "5", + "uploaded": "250GB", + "ratio": "2" + }, + { + "level": "2", + "name": "1080i", + "interval": "15", + "uploaded": "400GB", + "ratio": "3" + }, + { + "level": "3", + "name": "1080p", + "interval": "25", + "uploaded": "1.2TB", + "ratio": "4.5" + } + ], +"searchEntryConfig": { "skipIMDbId": true, "page": "/torrent/ajaxsearchtorrent/$key$", "resultType": "html", diff --git a/resource/sites/www.cinematik.net/config.json b/resource/sites/www.cinematik.net/config.json index 426297646..43a898819 100644 --- a/resource/sites/www.cinematik.net/config.json +++ b/resource/sites/www.cinematik.net/config.json @@ -16,6 +16,16 @@ "pages": ["/browse.php"], "scripts": ["/schemas/NexusPHP/common.js", "browse.js"] }], + "levelRequirements": [ + { + "level": "1", + "name": "Power User", + "interval": "8", + "uploaded": "100GB", + "ratio": "1.1", + "privilege": "More download slots" + } + ], "searchEntryConfig": { "page": "/browse.php", "resultType": "html", diff --git a/resource/sites/www.hdarea.co/config.json b/resource/sites/www.hdarea.co/config.json index 6695ee7ff..a13fa9a49 100644 --- a/resource/sites/www.hdarea.co/config.json +++ b/resource/sites/www.hdarea.co/config.json @@ -10,6 +10,72 @@ "综合" ], "host": "www.hdarea.co", + "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": "3", + "privilege": "无" + }, + { + "level": 3, + "name": "Crazy User", + "interval": "10", + "downloaded": "300GB", + "ratio": "3.5", + "privilege": "得到两个邀请名额;可以在做种/下载/发布的时候选择匿名模式。" + }, + { + "level": 4, + "name": "Insane User", + "interval": "12", + "downloaded": "750GB", + "ratio": "4", + "privilege": "可以查看普通日志。Insane User及以上用户封存账号后不会被删除。" + }, + { + "level": 5, + "name": "Veteran User", + "interval": "20", + "downloaded": "1024GB", + "ratio": "4.5", + "privilege": "得到三个邀请名额;可以查看其它用户的评论、帖子历史。Veteran User及以上用户会永远保留账号。" + }, + { + "level": 6, + "name": "Extreme User", + "interval": "25", + "downloaded": "2TB", + "ratio": "5", + "privilege": "可以更新过期的外部信息;可以查看Extreme User论坛。" + }, + { + "level": 7, + "name": "Ultimate User", + "interval": "30", + "downloaded": "5TB", + "ratio": "5.5", + "privilege": "得到五个邀请名额。" + }, + { + "level": 8, + "name": "Nexus Master", + "interval": "40", + "downloaded": "10TB", + "ratio": "6", + "privilege": "得到十个邀请名额。" + } + ], "collaborator": "lzl20110", "searchEntryConfig": { "fieldSelector": { @@ -223,4 +289,4 @@ } } } -} \ No newline at end of file +} diff --git a/resource/sites/www.pttime.org/config.json b/resource/sites/www.pttime.org/config.json index 1673c5ed0..3ff701111 100644 --- a/resource/sites/www.pttime.org/config.json +++ b/resource/sites/www.pttime.org/config.json @@ -7,6 +7,63 @@ "icon": "https://www.pttime.org/favicon.ico", "tags": ["电影", "成人"], "host": "www.pttime.org", + "levelRequirements": [{ + "level": "1", + "name": "Power User", + "interval": "4", + "downloaded": "512GB", + "ratio": "1.05", + "privilege": "无" + },{ + "level": "2", + "name": "Elite User", + "interval": "8", + "downloaded": "1TB", + "ratio": "1.55", + "privilege": "无" + },{ + "level": "3", + "name": "Crazy User", + "interval": "15", + "downloaded": "2TB", + "ratio": "2.05", + "privilege": "无" + },{ + "level": "4", + "name": "Insane User", + "interval": "25", + "downloaded": "4TB", + "ratio": "2.55", + "privilege": "无" + },{ + "level": "5", + "name": "Veteran User", + "interval": "52", + "downloaded": "8TB", + "ratio": "3.05", + "privilege": "无" + },{ + "level": "6", + "name": "Extreme User", + "interval": "80", + "downloaded": "16TB", + "ratio": "3.55", + "privilege": "无" + },{ + "level": "7", + "name": "Ultimate User", + "interval": "104", + "downloaded": "35000GB", + "ratio": "4.05", + "privilege": "无" + },{ + "level": "8", + "name": "Nexus Master", + "interval": "130", + "downloaded": "70000GB", + "ratio": "4.55", + "privilege": "无" + }], "selectors": { "userBaseInfo": { "page": "/index.php", @@ -95,4 +152,4 @@ } }, "collaborator": "asterisk" -} \ No newline at end of file +} diff --git a/src/options/views/Home.vue b/src/options/views/Home.vue index 322f9f8a5..15710e82d 100644 --- a/src/options/views/Home.vue +++ b/src/options/views/Home.vue @@ -169,50 +169,38 @@ {{ showUserLevel ? props.item.user.levelName : "****" }}