From b4162d0342f2675f4419ad1ee9a83c0aaf3fdd74 Mon Sep 17 00:00:00 2001 From: shinya Date: Fri, 11 Jul 2025 03:04:42 +0800 Subject: [PATCH] feat: extract year from detail --- src/lib/downstream.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/lib/downstream.ts b/src/lib/downstream.ts index fbb70fa..4bf5551 100644 --- a/src/lib/downstream.ts +++ b/src/lib/downstream.ts @@ -328,6 +328,10 @@ async function handleSpecialSourceDetail( const coverMatch = html.match(/(https?:\/\/[^"'\s]+?\.jpg)/g); const coverUrl = coverMatch ? coverMatch[0].trim() : ''; + // 提取年份 + const yearMatch = html.match(/>(\d{4})