Skip to content

Commit

Permalink
fix(pterclub): fix uploads count and rename the level name
Browse files Browse the repository at this point in the history
  • Loading branch information
zhi1ong committed Jun 25, 2024
1 parent ea5fc77 commit a95ae29
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions resource/sites/pterclub.com/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"host": "pterclub.com",
"levelRequirements": [{
"level": "1",
"name": "Power User",
"name": "加菲猫/POWER USER",
"interval": "5",
"downloaded": "50GB",
"ratio": "1.05",
Expand All @@ -18,7 +18,7 @@
"privilege": "可以直接发布种子;可以查看邀请区;可以上传字幕和删除自己上传的字幕"
},{
"level": "2",
"name": "Elite User",
"name": "布偶猫/ELITE USER",
"interval": "10",
"downloaded": "120GB",
"ratio": "1.55",
Expand All @@ -27,7 +27,7 @@
"privilege": "可以请求续种"
},{
"level": "3",
"name": "Crazy User",
"name": "雪鞋猫/CRAZY USER",
"interval": "24",
"downloaded": "300GB",
"ratio": "2.05",
Expand All @@ -36,7 +36,7 @@
"privilege": "可以查看排行榜"
},{
"level": "4",
"name": "Insane User",
"name": "暹罗猫/INSANE USER",
"interval": "32",
"downloaded": "500GB",
"ratio": "2.55",
Expand All @@ -45,7 +45,7 @@
"privilege": "可以查看普通日志"
},{
"level": "5",
"name": "Veteran User",
"name": "安哥拉猫/VETERAN USER",
"interval": "40",
"downloaded": "750GB",
"ratio": "3.05",
Expand All @@ -62,7 +62,7 @@
"privilege": "可以查看其它用户的评论、帖子历史;封存账号后,不会因不活跃原因被临时封禁"
},{
"level": "6",
"name": "Extreme User",
"name": "孟加拉猫/EXTREME USER",
"interval": "48",
"downloaded": "1024GB",
"ratio": "3.55",
Expand All @@ -79,7 +79,7 @@
"privilege": "可2次无条件不活跃解封,可以查看邀请树统计,初次升级赠送1枚永久邀请码"
},{
"level": "7",
"name": "Ultimate User",
"name": "山东狮子猫/ULTIMATE USER",
"interval": "56",
"downloaded": "1536GB",
"ratio": "4.05",
Expand All @@ -96,7 +96,7 @@
"privilege": "追加1次无条件不活跃解封,可以查看邀请树图,初次升级赠送2枚永久邀请码"
},{
"level": "8",
"name": "Nexus Master",
"name": "四川简州猫/NEXUS MASTER",
"interval": "112",
"downloaded": "3072GB",
"ratio": "4.55",
Expand Down Expand Up @@ -179,11 +179,11 @@
},
"userUploadedTorrents": {
"prerequisites": "!user.uploads",
"page": "/torrents.php?incldead=1&check=checked&search=$user.name$&search_area=3",
"page": "/getusertorrentlist.php?do_ajax=1&userid=$user.id$&type=uploaded",
"fields": {
"uploads": {
"selector": ["p.np-pager:first b:last"],
"filters": ["query.text().replace(/,/g,'').split('-')", "(query && query.length > 1) ? parseInt(query[1]) : 0"]
"selector": ["b:first"],
"filters": ["query ? parseInt(query.text().trim().replace(/,/g,'')) : 0"]
}
}
}
Expand Down

0 comments on commit a95ae29

Please sign in to comment.