From 92b8da23a95f1b082e5fa3ec1e9749a2b2209246 Mon Sep 17 00:00:00 2001 From: HaZy-Gaming <4704801@qq.com> Date: Tue, 31 Mar 2026 12:31:39 +0800 Subject: [PATCH] fix(github): update topics route selector to fix empty route (#21560) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 解决GitHub Topics路由"Error: this route is empty"问题。 --- lib/routes/github/topic.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/routes/github/topic.ts b/lib/routes/github/topic.ts index 74d1b9616..3be582428 100644 --- a/lib/routes/github/topic.ts +++ b/lib/routes/github/topic.ts @@ -46,7 +46,7 @@ async function handler(ctx) { title: $('title').text(), description: $('.markdown-body').text().trim(), link: url, - item: $('article.my-4') + item: $('article.border') .toArray() .map((item) => { item = $(item);