From ae86fb8c7581e9f1b9047415f41a44536b739605 Mon Sep 17 00:00:00 2001 From: Goren G Date: Fri, 13 Sep 2024 21:02:08 +0800 Subject: [PATCH] fix(router): zaobao empty router (#16738) --- lib/routes/zaobao/util.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/routes/zaobao/util.ts b/lib/routes/zaobao/util.ts index e7015c2071c0e..19fc63a51a6d2 100644 --- a/lib/routes/zaobao/util.ts +++ b/lib/routes/zaobao/util.ts @@ -38,7 +38,7 @@ const parseList = async ( }> => { const response = await got_ins.get(baseUrl + sectionUrl); const $ = load(response.data); - let data = /realtime/.test(sectionUrl) ? $('.on-listing-pages') : $('.article-list').find('.article-type'); + let data = /realtime/.test(sectionUrl) ? $('.card-listing .card') : $('.article-list').find('.article-type'); if (data.length === 0) { // for HK version data = $('.clearfix').find('.list-block');