Skip to content

Commit

Permalink
feat(RL): update searchEntry
Browse files Browse the repository at this point in the history
  • Loading branch information
fzlins committed Jul 12, 2023
1 parent 41bcdf7 commit df7e2ff
Showing 1 changed file with 22 additions and 6 deletions.
28 changes: 22 additions & 6 deletions resource/sites/leaves.red/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@
"host": "leaves.red",
"cdn": ["https://leaves.red/","https://wwww.leaves.red/"],
"collaborator": ["CosmoGao", "tedzhu"],
"plugins": [
{
"name": "种子列表",
"pages": ["/special.php", "/games.php"],
"scripts": ["/schemas/NexusPHP/common.js", "/schemas/NexusPHP/torrents.js"]
}],
"levelRequirements": [{
"level": "1",
"name": "Power User",
Expand Down Expand Up @@ -75,14 +81,24 @@
}],
"searchEntry": [
{
"entry": "/torrents.php?search=$key$&search_mode=2",
"name": "综合",
"enabled": true
"entry": "/search.php?search=$key$&search_area=0",
"name": "全站",
"enabled": true
},
{
"entry": "/torrents.php?search=$key$&search_mode=2",
"name": "综合",
"enabled": true
},
{
"entry": "/special.php?search=$key$&search_mode=2",
"name": "有声",
"enabled": true
},
{
"entry": "/special.php?search=$key$&search_mode=2",
"name": "有声",
"enabled": true
"entry": "/games.php?search=$key$&search_mode=2",
"name": "游戏",
"enabled": true
}
],
"selectors": {
Expand Down

0 comments on commit df7e2ff

Please sign in to comment.