From 1893ce4be1104764f94952096af773e4cd8a8d26 Mon Sep 17 00:00:00 2001 From: ixff <150003322+ixff@users.noreply.github.com> Date: Mon, 16 Sep 2024 06:26:25 +0800 Subject: [PATCH 1/2] =?UTF-8?q?fix(tjupt):=20=E7=AB=99=E7=82=B9=E6=90=9C?= =?UTF-8?q?=E7=B4=A2=E8=8C=83=E5=9B=B4=E5=8A=9F=E8=83=BD=E5=A4=B1=E6=95=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resource/sites/tjupt.org/config.json | 31 ++++++++++++++++------------ 1 file changed, 18 insertions(+), 13 deletions(-) diff --git a/resource/sites/tjupt.org/config.json b/resource/sites/tjupt.org/config.json index d8330b3c0..d8ae55463 100644 --- a/resource/sites/tjupt.org/config.json +++ b/resource/sites/tjupt.org/config.json @@ -105,64 +105,69 @@ "enabled": true }, { - "queryString": "cat401=1", + "queryString": "cat=401", "name": "电影", "enabled": false }, { - "queryString": "cat403=1", + "queryString": "cat=402", + "name": "剧集", + "enabled": false + }, + { + "queryString": "cat=403", "name": "综艺", "enabled": false }, { - "queryString": "cat404=1", + "queryString": "cat=404", "name": "资料", "enabled": false }, { - "queryString": "cat405=1", + "queryString": "cat=405", "name": "动漫", "enabled": false }, { - "queryString": "cat406=1", + "queryString": "cat=406", "name": "音乐", "enabled": false }, { - "queryString": "cat407=1", - "name": "音乐", + "queryString": "cat=407", + "name": "体育", "enabled": false }, { - "queryString": "cat408=1", + "queryString": "cat=408", "name": "软件", "enabled": false }, { - "queryString": "cat409=1", + "queryString": "cat=409", "name": "游戏", "enabled": false }, { - "queryString": "cat411=1", + "queryString": "cat=411", "name": "纪录片", "enabled": false }, { - "queryString": "cat412=1", + "queryString": "cat=412", "name": "移动视频", "enabled": false }, { - "queryString": "cat410=1", + "queryString": "cat=410", "name": "其他", "enabled": false } ], "categories": [{ "entry": "*", - "result": "&cat$id$=1", + "result": "&cat=$id$", "category": [{ "id": 401, "name": "电影" From 335ef508a1bf82e7f64f2a911c98b6f1fb2c8a77 Mon Sep 17 00:00:00 2001 From: ixff <150003322+ixff@users.noreply.github.com> Date: Mon, 16 Sep 2024 09:53:12 +0800 Subject: [PATCH 2/2] update categories.[*].result format: &cat=$id$ changed to &cat[]=$id$ --- resource/sites/tjupt.org/config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resource/sites/tjupt.org/config.json b/resource/sites/tjupt.org/config.json index d8ae55463..686f6c397 100644 --- a/resource/sites/tjupt.org/config.json +++ b/resource/sites/tjupt.org/config.json @@ -167,7 +167,7 @@ ], "categories": [{ "entry": "*", - "result": "&cat=$id$", + "result": "&cat[]=$id$", "category": [{ "id": 401, "name": "电影"