1 parent
59c59405d2
commit
d5c4de4f8b
1 file changed
+8
-1
@@ -364,7 +364,14 @@ export async function getFongmiDanmaku(url, req) {
|
||||
if (!name) {
|
||||
return jsonResponse([], 200);
|
||||
}
|
||||
|
||||
// 使用剧名映射表转换剧名
|
||||
if (globals.titleMappingTable && globals.titleMappingTable.size > 0) {
|
||||
const mappedTitle = globals.titleMappingTable.get(name);
|
||||
if (mappedTitle) {
|
||||
log("info", `[Fongmi] Title mapped from original: ${name} to: ${mappedTitle}`);
|
||||
name = mappedTitle;
|
||||
}
|
||||
}
|
||||
const searchUrl = new URL(url.toString());
|
||||
const detailStore = new Map();
|
||||
const keywords = buildFongmiSearchKeywords(name);
|
||||
|
||||
Reference in new issue
Block a user