Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: 更新南洋等级 #2160

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
275 changes: 155 additions & 120 deletions resource/sites/nanyangpt.com/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,65 +11,78 @@
],
"schema": "NexusPHP",
"host": "nanyangpt.com",
"collaborator": ["Rhilip","Yincircle"],
"levelRequirements": [{
"level": "1",
"name": "小小学士",
"interval": "2",
"downloaded": "30GB",
"ratio": "1.5",
"privilege": "可以直接发布种子;可以查看NFO文档;可以查看用户列表;可以请求续种;可以查看其它用户的种子历史(如果用户隐私等级未设置为\"强\"); 可以删除自己上传的字幕。"
},{
"level": "2",
"name": "优秀硕士",
"interval": "5",
"downloaded": "50GB",
"ratio": "2.5",
"privilege": "优秀硕士及以上用户封存账号后不会被删除。"
},{
"level": "3",
"name": "初为博士",
"interval": "10",
"downloaded": "100GB",
"ratio": "3.5",
"privilege": "可以在做种/下载/发布的时候选择匿名模式,可以在邀请传送门版块发帖。"
},{
"level": "4",
"name": "海归博后",
"interval": "15",
"downloaded": "300GB",
"ratio": "4.5",
"privilege": "可以查看普通日志。"
},{
"level": "5",
"name": "大学讲师",
"interval": "20",
"downloaded": "500GB",
"ratio": "5.5",
"privilege": "可以查看排行榜;可以查看其它用户的评论、帖子历史。大学讲师及以上用户会永远保留账号。"
},{
"level": "6",
"name": "晋升副教",
"interval": "30",
"downloaded": "700GB",
"ratio": "6.5",
"privilege": "可以更新过期的外部信息;可以查看晋升副教论坛。"
},{
"level": "7",
"name": "终身教授",
"interval": "80",
"downloaded": "900GB",
"ratio": "7.5",
"privilege": "更加高级。"
},{
"level": "8",
"name": "荣誉院士",
"interval": "100",
"downloaded": "1TB",
"ratio": "8.5",
"privilege": "更加高级。"
}],
"searchEntry": [{
"collaborator": [
"Rhilip",
"Yincircle"
],
"levelRequirements": [
{
"level": 1,
"name": "小小学士",
"interval": "2",
"downloaded": "30GB",
"ratio": "1.50",
"privilege": "可以直接发布种子;可以查看NFO文档;可以查看用户列表;可以请求续种;可以查看其它用户的种子历史(如果用户隐私等级未设置为\"强\"); 可以删除自己上传的字幕。"
},
{
"level": 2,
"name": "优秀硕士",
"interval": "5",
"downloaded": "50GB",
"ratio": "2.50",
"privilege": "优秀硕士及以上用户封存账号后不会被删除。"
},
{
"level": 3,
"name": "初为博士",
"interval": "10",
"downloaded": "100GB",
"ratio": "3.50",
"privilege": "可以在做种/下载/发布的时候选择匿名模式,可以在邀请传送门版块发帖。"
},
{
"level": 4,
"name": "海归博后",
"interval": "15",
"downloaded": "300GB",
"ratio": "4.50",
"privilege": "可以查看普通日志。"
},
{
"level": 5,
"name": "大学讲师",
"interval": "20",
"downloaded": "500GB",
"ratio": "5.50",
"privilege": "可以查看排行榜;可以查看其它用户的评论、帖子历史。大学讲师及以上用户会永远保留账号。"
},
{
"level": 6,
"name": "晋升副教",
"interval": "30",
"downloaded": "700GB",
"ratio": "6.50",
"privilege": "可以更新过期的外部信息;可以查看晋升副教论坛。"
},
{
"level": 7,
"name": "终身教授",
"interval": "40",
"downloaded": "900GB",
"ratio": "7.50",
"privilege": "更加高级。"
},
{
"level": 8,
"name": "荣誉院士",
"interval": "50",
"downloaded": "1TB",
"ratio": "8.50",
"privilege": "更加高级。"
}
],
"searchEntry": [
{
"name": "全站",
"enabled": true
},
Expand Down Expand Up @@ -133,72 +146,94 @@
"merge": true,
"fieldSelector": {
"progress": {
"selector": [".rowfollow[title='Downloading'], .rowfollow[title='Seeding'], .rowfollow[title='Stopped'], .rowfollow[title='Completed']"],
"filters": ["query.text()?query.text():null"]
"selector": [
".rowfollow[title='Downloading'], .rowfollow[title='Seeding'], .rowfollow[title='Stopped'], .rowfollow[title='Completed']"
],
"filters": [
"query.text()?query.text():null"
]
},
"status": {
"selector": [".rowfollow[title='Downloading']", ".rowfollow[title='Seeding']", ".rowfollow[title='Stopped']", ".rowfollow[title='Completed']"],
"selector": [
".rowfollow[title='Downloading']",
".rowfollow[title='Seeding']",
".rowfollow[title='Stopped']",
".rowfollow[title='Completed']"
],
"switchFilters": [
["1"],
["2"],
["3"],
["255"]
[
"1"
],
[
"2"
],
[
"3"
],
[
"255"
]
]
}
}
},
"categories": [{
"entry": "torrents.php",
"result": "&cat$id$=1",
"category": [{
"id": 401,
"name": "电影"
},
{
"id": 402,
"name": "剧集"
},
{
"id": 403,
"name": "动漫"
},
{
"id": 404,
"name": "综艺"
},
{
"id": 405,
"name": "体育"
},
{
"id": 406,
"name": "纪录"
},
{
"id": 407,
"name": "音乐"
},
{
"id": 408,
"name": "学习"
},
{
"id": 409,
"name": "软件"
},
{
"id": 410,
"name": "游戏"
},
{
"id": 411,
"name": "其他"
}
]
}],
"categories": [
{
"entry": "torrents.php",
"result": "&cat$id$=1",
"category": [
{
"id": 401,
"name": "电影"
},
{
"id": 402,
"name": "剧集"
},
{
"id": 403,
"name": "动漫"
},
{
"id": 404,
"name": "综艺"
},
{
"id": 405,
"name": "体育"
},
{
"id": 406,
"name": "纪录"
},
{
"id": 407,
"name": "音乐"
},
{
"id": 408,
"name": "学习"
},
{
"id": 409,
"name": "软件"
},
{
"id": 410,
"name": "游戏"
},
{
"id": 411,
"name": "其他"
}
]
}
],
"mergeSchemaTagSelectors": true,
"torrentTagSelectors": [{
"name": "⛔️",
"selector": "td.embedded > a[title] > b > font[color='red']"
}]
}
"torrentTagSelectors": [
{
"name": "⛔️",
"selector": "td.embedded > a[title] > b > font[color='red']"
}
]
}