From fd80234d18944f2bc18fe51e90e7222083b178f2 Mon Sep 17 00:00:00 2001 From: ted423 Date: Wed, 26 Oct 2022 19:57:36 +0800 Subject: [PATCH] =?UTF-8?q?fix(SpeedApp):=20=E6=97=B6=E9=97=B4=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://github.com/ronggang/PT-Plugin-Plus/issues/1068 --- resource/sites/speedapp.io/config.json | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/resource/sites/speedapp.io/config.json b/resource/sites/speedapp.io/config.json index 29aa4aa6f..9ef64360a 100644 --- a/resource/sites/speedapp.io/config.json +++ b/resource/sites/speedapp.io/config.json @@ -45,7 +45,7 @@ }, "time": { "selector": [""], - "filters": ["query.attr('title')","dateTime(query).valueOf()?dateTime(query):query"] + "filters": [ "query.attr('title')", "dateTime(query).isValid() ? dateTime(query).valueOf() : dateTime(query.replace('下午','PM ').replace('上午','AM ').replace('日','').replaceAll(/年|月/g,'-'), 'YYYY-M-D A hh:mm:ss').format('YYYY-M-D HH:mm')" ] }, "seeders": { "selector": ["span:contains('seeders')"], @@ -119,10 +119,9 @@ "selector": ["div.card-body.pt-4 >div.align-items-center div.text-muted"], "filters": ["query.text().replace(/,|\\s|\\n/g,'')"] }, - - "joinTime": { + "joinTime": { "selector": ["dt:contains('注册日期') + dd, dt:contains('Signup date') + dd, dt:contains('Data inregistrarii') + dd"], - "filters": ["dateTime(query.text()).valueOf()"] + "filters": [ "query.text()", "dateTime(query).isValid() ? dateTime(query).valueOf() : dateTime(query.replace('下午','PM ').replace('上午','AM ').replace('日','').replaceAll(/年|月/g,'-'), 'YYYY-M-D A hh:mm:ss').valueOf()" ] }, "seedingSize": { "selector": ["dt:contains('奖励积分') + dd > b:nth-of-type(2)","dt:contains('Bonus points') + dd > b:nth-of-type(2)","dt:contains('Puncte bonus') + dd > b:nth-of-type(2)"],