Skip to content

Commit

Permalink
feat: add kufei.org
Browse files Browse the repository at this point in the history
  • Loading branch information
ityum authored and ted423 committed Aug 2, 2023
1 parent ce090d1 commit 03d602c
Showing 1 changed file with 133 additions and 0 deletions.
133 changes: 133 additions & 0 deletions resource/sites/kufei.org/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,133 @@
{
"name": "库非",
"timezoneOffset": "+0800",
"schema": "NexusPHP",
"url": "https://kufei.org",
"description": "库非资源下载分享",
"icon": "https://kufei.org/favicon.ico",
"tags": [
"影视",
"综合"
],
"host": "kufei.org",
"collaborator": "yum",
"levelRequirements": [
{
"level": "1",
"name": "Power User",
"interval": "4",
"downloaded": "120GB",
"ratio": "2.0",
"seedingPoints": "100000",
"privilege": "得到一个邀请名额;可以直接发布种子;可以查看NFO文档;可以查看用户列表;可以请求续种; 可以发送邀请; 可以查看排行榜;可以查看其它用户的种子历史(如果用户隐私等级未设置为\"\"); 可以删除自己上传的字幕。"
},
{
"level": "2",
"name": "Elite User",
"interval": "8",
"downloaded": "240GB",
"ratio": "2.5",
"seedingPoints": "200000",
"privilege": "Elite User及以上用户封存账号后不会被删除。"
},
{
"level": "3",
"name": "Crazy User",
"interval": "15",
"downloaded": "480GB",
"ratio": "3.0",
"seedingPoints": "400000",
"privilege": "得到两个邀请名额;可以在做种/下载/发布的时候选择匿名模式。"
},
{
"level": "4",
"name": "Insane User",
"interval": "25",
"downloaded": "960GB",
"ratio": "3.5",
"seedingPoints": "640000",
"privilege": "可以查看普通日志。"
},
{
"level": "5",
"name": "Veteran User",
"interval": "40",
"downloaded": "1.92TB",
"ratio": "4.0",
"seedingPoints": "1200000",
"privilege": "得到三个邀请名额;可以查看其它用户的评论、帖子历史。Veteran User及以上用户会永远保留账号。"
},
{
"level": "6",
"name": "Extreme User",
"interval": "600",
"downloaded": ".3.844TB",
"ratio": "4.5",
"seedingPoints": "1500000",
"privilege": "可以更新过期的外部信息;可以查看Extreme User论坛。"
},
{
"level": "7",
"name": "Ultimate User",
"interval": "80",
"downloaded": "7.68TB",
"ratio": "5.0",
"seedingPoints": "1800000",
"privilege": "得到五个邀请名额。"
},
{
"level": "8",
"name": "Nexus Master",
"interval": "100",
"downloaded": "15TB",
"ratio": "6.0",
"seedingPoints": "2000000",
"privilege": "得到十个邀请名额。"
}
],
"searchEntryConfig": {
"fieldSelector": {
"progress": {
"selector": [
".torrentname td:first-child > div[title]:last-child"
],
"filters": [
"query ? query.attr('title').match(/([\\d\\.]+)%/) : null",
"(query && query.length >= 2) ? parseFloat(query[1]) : null"
]
},
"status": {
"selector": [
".torrentname td:first-child > div[title]:last-child"
],
"filters": [
"query ? query.attr('title').split(' ')[0] : null",
"query === 'leeching' ? 1 : query === 'seeding' ? 2 : query === 'inactivity' ? 255 : null"
]
}
}
},
"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"
]
}
}
}
}
}

0 comments on commit 03d602c

Please sign in to comment.