From a274eca8e4458677d601068c9e3670b2ba62d524 Mon Sep 17 00:00:00 2001 From: manone <184355540+manone2077@users.noreply.github.com> Date: Wed, 8 Jan 2025 09:49:20 +0800 Subject: [PATCH] =?UTF-8?q?fix(qingwapt):=20=E5=A2=9E=E5=8A=A0=E7=A9=BA?= =?UTF-8?q?=E5=80=BC=E6=83=85=E5=86=B5=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resource/sites/qingwapt.com/config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resource/sites/qingwapt.com/config.json b/resource/sites/qingwapt.com/config.json index 3830c49a5..2eebda27f 100644 --- a/resource/sites/qingwapt.com/config.json +++ b/resource/sites/qingwapt.com/config.json @@ -318,7 +318,7 @@ "seedingSize": { "selector": "div:first", "filters": [ - "query.text().split('|')[1].slice(5).trim().sizeToNumber()" + "(query && query.text().length>0)?query.text().split('|')[1].slice(5).trim().sizeToNumber():0" ] } }