Skip to content

Commit

Permalink
聆音 适配阅听专区搜索
Browse files Browse the repository at this point in the history
  • Loading branch information
SHL-COOL committed Mar 18, 2022
1 parent 4c541cd commit d46569e
Showing 1 changed file with 37 additions and 11 deletions.
48 changes: 37 additions & 11 deletions resource/sites/pt.soulvoice.club/config.json
Expand Up @@ -4,24 +4,50 @@
"schema": "NexusPHP",
"url": "https://pt.soulvoice.club/",
"description": "致力于建设一个有声资源,电子书为主,学习资料,影视资源为辅的PT分享站。",
"tags": ["综合", "电子书", "有声书"],
"tags": [
"综合",
"电子书",
"有声书"
],
"host": "pt.soulvoice.club",
"collaborator": "Gold John King",
"collaborator": [
"Gold John King",
"枕头啊枕头"
],
"plugins": [{
"name": "阅听专区",
"pages": ["/live.php"],
"scripts": ["/schemas/NexusPHP/common.js", "/schemas/NexusPHP/torrents.js"]
}],
"searchEntryConfig": {
"fieldSelector": {
"progress": {
"selector": ["> td:eq(8)"],
"filters": ["query.text()=='--'?null:parseFloat(query.text())"]
"fieldSelector": {
"progress": {
"selector": [
"> td:eq(8)"
],
"filters": [
"query.text()=='--'?null:parseFloat(query.text())"
]
},
"status": {
"selector": [
"> td:eq(8)"
],
"filters": [
"query.text()==='--'?null:(parseFloat(query.text())==100?255:3)"
]
}
}
},
"searchEntry": [
{
"name": "种子",
"enabled": true
},
"status": {
"selector": ["> td:eq(8)"],
"filters": ["query.text()==='--'?null:(parseFloat(query.text())==100?255:3)"]
{
"entry": "live.php?search=$key$&notnewword=1",
"name": "阅听专区",
"enabled": false
}
}
}
]
}

0 comments on commit d46569e

Please sign in to comment.