From a1c8f1a9cbdbd718642bfc34f06a9b8b869bd6fb Mon Sep 17 00:00:00 2001 From: hui-shao Date: Mon, 29 Jul 2024 11:43:03 +0800 Subject: [PATCH] fix(ptt): user level info. #1955 --- resource/sites/www.pttime.org/config.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resource/sites/www.pttime.org/config.json b/resource/sites/www.pttime.org/config.json index 7f3045a5b..8702128fd 100644 --- a/resource/sites/www.pttime.org/config.json +++ b/resource/sites/www.pttime.org/config.json @@ -130,8 +130,8 @@ "filters": ["query.text().replace(/,/g,'').match(/(下[载載]量|Downloaded).+?([\\d.]+ ?[ZEPTGMK]?i?B)/)", "(query && query.length==3)?(query[2]).sizeToNumber():null"] }, "levelName": { - "selector": ["td.rowhead:contains('等级')", "td.rowhead:contains('等級')", "td.rowhead:contains('Class')"], - "filters": ["query.next().find('img').attr('title')"] + "selector": ["td.rowhead:contains('用户等级')", "td.rowhead:contains('用戶等級')", "td.rowhead:contains('Class')"], + "filters": ["query.next().children('b').attr('title')"] }, "bonus": { "selector": ["td.rowhead:contains('魔力') + td", "td.rowhead:contains('Karma'):contains('Points') + td", "td.rowhead:contains('麦粒') + td", "td.rowfollow:contains('魔力值')"],