fix: 修复 VikaACG 名称抓取,并调整调试日志

*   修复 VikaACG 平台中提取游戏名称的正则表达式,提高匹配准确性。
*   移除 Koyso 平台中不再需要的调试日志输出,优化代码。
*   在 TWOdfan 平台中新增调试日志,以便检查 API 响应的 HTML 内容。
This commit is contained in:
Jurangren
2025-08-22 00:52:34 +08:00
parent 5b37aacd8c
commit 1a9db6a536
3 changed files with 3 additions and 4 deletions

View File

@@ -27,6 +27,8 @@ async function searchTWOdfan(game: string): Promise<PlatformSearchResult> {
const data = await response.json() as TwoDFanResponse;
const html = data.subjects;
console.log("2dfan API HTML Response:", html);
const matches = html.matchAll(REGEX);