Skip to content

Commit

Permalink
fix: 指定猫站 MV搜索入口
Browse files Browse the repository at this point in the history
  • Loading branch information
IITII committed Sep 19, 2023
1 parent 7fc3c44 commit 24483d0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 15 deletions.
8 changes: 2 additions & 6 deletions resource/schemas/NexusPHP/getSearchResult.js
Original file line number Diff line number Diff line change
Expand Up @@ -179,19 +179,15 @@
continue;
}

url = url +
(site && site.passkey ? "&passkey=" + site.passkey : "");
url = url + (site && site.passkey ? "&passkey=" + site.passkey : "");

let data = {
title: title.attr("title") || title.text(),
subTitle: this.getSubTitle(title, row),
link,
url,
size: this.getFieldValue(row, cells, fieldIndex, "size") || 0,
time:
fieldIndex.time == -1
? ""
: this.getTime(cells.eq(fieldIndex.time)),
time: fieldIndex.time == -1 ? "" : this.getTime(cells.eq(fieldIndex.time)),
author: this.getFieldValue(row, cells, fieldIndex, "author") || "",
seeders: this.getFieldValue(row, cells, fieldIndex, "seeders") || 0,
leechers:
Expand Down
18 changes: 9 additions & 9 deletions resource/sites/pterclub.com/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"schema": "NexusPHP",
"host": "pterclub.com",
"levelRequirements": [{
"level": "1",
"level": "1",
"name": "Power User",
"interval": "5",
"downloaded": "50GB",
Expand All @@ -17,7 +17,7 @@
"uploads": "10",
"privilege": "可以直接发布种子;可以查看邀请区;可以上传字幕和删除自己上传的字幕"
},{
"level": "2",
"level": "2",
"name": "Elite User",
"interval": "10",
"downloaded": "120GB",
Expand All @@ -26,7 +26,7 @@
"uploads": "20",
"privilege": "可以请求续种"
},{
"level": "3",
"level": "3",
"name": "Crazy User",
"interval": "24",
"downloaded": "300GB",
Expand All @@ -35,7 +35,7 @@
"uploads": "30",
"privilege": "可以查看排行榜"
},{
"level": "4",
"level": "4",
"name": "Insane User",
"interval": "32",
"downloaded": "500GB",
Expand All @@ -44,7 +44,7 @@
"uploads": "40",
"privilege": "可以查看普通日志"
},{
"level": "5",
"level": "5",
"name": "Veteran User",
"interval": "40",
"downloaded": "750GB",
Expand All @@ -61,7 +61,7 @@
],
"privilege": "可以查看其它用户的评论、帖子历史;封存账号后,不会因不活跃原因被临时封禁"
},{
"level": "6",
"level": "6",
"name": "Extreme User",
"interval": "48",
"downloaded": "1024GB",
Expand All @@ -78,7 +78,7 @@
],
"privilege": "可2次无条件不活跃解封,可以查看邀请树统计,初次升级赠送1枚永久邀请码"
},{
"level": "7",
"level": "7",
"name": "Ultimate User",
"interval": "56",
"downloaded": "1536GB",
Expand All @@ -95,7 +95,7 @@
],
"privilege": "追加1次无条件不活跃解封,可以查看邀请树图,初次升级赠送2枚永久邀请码"
},{
"level": "8",
"level": "8",
"name": "Nexus Master",
"interval": "112",
"downloaded": "3072GB",
Expand Down Expand Up @@ -155,7 +155,7 @@
"name": "综合",
"enabled": true
}, {
"entry": "/music.php?search=$key$&notnewword=1",
"entry": "/music.php?search=$key$&notnewword=1&cat=413",
"name": "音乐",
"enabled": true
}],
Expand Down

0 comments on commit 24483d0

Please sign in to comment.