From 883a772aff79fcf16118f60c2ea16ac86f90a748 Mon Sep 17 00:00:00 2001 From: Tony Date: Thu, 2 Jan 2025 01:21:13 +0800 Subject: [PATCH] fix(gameapps): fix title (#18026) --- lib/routes/gameapps/index.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/routes/gameapps/index.ts b/lib/routes/gameapps/index.ts index 7ef3c7c30c..e8a2522e9e 100644 --- a/lib/routes/gameapps/index.ts +++ b/lib/routes/gameapps/index.ts @@ -38,6 +38,8 @@ async function handler() { }); const $ = load(response); + item.title = $('meta[property="og:title"]').attr('content') ?? $('.news-title h1').text(); + const nextPages = $('.pagination li') .not('.disabled') .not('.active')