From 597325d3afafb1511566ecdebd55cb327c57f536 Mon Sep 17 00:00:00 2001 From: mediabot-pt <295750538+mediabot-pt@users.noreply.github.com> Date: Wed, 1 Jul 2026 22:29:16 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20PTTIME=E7=94=A8=E6=88=B7=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=E9=80=89=E6=8B=A9=E5=99=A8=E6=94=B9=E5=9B=9E#info=5Fb?= =?UTF-8?q?lock=EF=BC=8C=E5=90=AB=E4=B8=A4=E4=B8=AAtd.clearfix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/pttime.groovy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/pttime.groovy b/docs/pttime.groovy index a99579d..8af05fb 100644 --- a/docs/pttime.groovy +++ b/docs/pttime.groovy @@ -18,7 +18,7 @@ Map parse(String content, String url) { // ── 首页 / 用户信息 ── private Map parseIndex(doc) { - def el = utils.selectFirst(doc, '#info_block td.bottom.clearfix') + def el = utils.selectFirst(doc, '#info_block') if (!el) return [pageName: '首页', message: '未找到用户信息'] def t = utils.text(el) def fields = [:] @@ -90,7 +90,7 @@ Map sync(PluginContext ctx) { try { def conn = ctx.httpGet('/index.php') def doc = jsoup.parse(conn.body()) - def el = utils.selectFirst(doc, 'td.bottom.clearfix') + def el = utils.selectFirst(doc, '#info_block') if (!el) return [message: "未找到用户信息"] def t = utils.text(el) def result = [:]