mirror of
https://github.com/Moe-Sakura/Wrangler-API.git
synced 2026-04-27 22:59:51 +08:00
fix: 修复 VikaACG 名称抓取,并调整调试日志
* 修复 VikaACG 平台中提取游戏名称的正则表达式,提高匹配准确性。 * 移除 Koyso 平台中不再需要的调试日志输出,优化代码。 * 在 TWOdfan 平台中新增调试日志,以便检查 API 响应的 HTML 内容。
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user