From df7e2ff3527e4e7bc5f0aa9e0e512b4cd2e512c6 Mon Sep 17 00:00:00 2001 From: fzlins Date: Wed, 12 Jul 2023 06:47:37 -0400 Subject: [PATCH] feat(RL): update searchEntry --- resource/sites/leaves.red/config.json | 28 +++++++++++++++++++++------ 1 file changed, 22 insertions(+), 6 deletions(-) diff --git a/resource/sites/leaves.red/config.json b/resource/sites/leaves.red/config.json index 13a200278..a4d56d5a3 100644 --- a/resource/sites/leaves.red/config.json +++ b/resource/sites/leaves.red/config.json @@ -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", @@ -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": {