From 02963d1951c4a076cfc34af05083c1ee2016dbdb Mon Sep 17 00:00:00 2001 From: KTachibanaM Date: Fri, 14 Feb 2025 23:58:48 -0800 Subject: [PATCH] feat: fix /people items and description (#18360) --- lib/routes/people/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/routes/people/index.ts b/lib/routes/people/index.ts index 9543a452a99625..2400405f439f2f 100644 --- a/lib/routes/people/index.ts +++ b/lib/routes/people/index.ts @@ -47,7 +47,7 @@ async function handler(ctx) { $(e).parent().remove(); }); - let items = $('.p6, div.p2j_list, div.headingNews, div.ej_list_box, .fl, .leftItem') + let items = $('.p6, div.p2j_list, div.headingNews, div.ej_list_box, .leftItem') .find('a') .slice(0, limit) .toArray() @@ -75,7 +75,7 @@ async function handler(ctx) { content('.paper_num, #rwb_tjyd').remove(); - item.description = content('.rm_txt_con, .show_text').html(); + item.description = content('#rwb_zw').html(); item.pubDate = timezone(parseDate(data.match(/(\d{4}年\d{2}月\d{2}日\d{2}:\d{2})/)[1], 'YYYY年MM月DD日 HH:mm'), +8); } catch (error) { item.description = error;