fix: aggreaget match and keyword trim

This commit is contained in:
shinya
2025-07-04 01:23:22 +08:00
parent f266ae0dc1
commit 6492191a2d
10 changed files with 36 additions and 27 deletions

View File

@@ -83,7 +83,7 @@ async function searchFromApi(
return {
id: item.vod_id,
title: item.vod_name,
title: item.vod_name.trim().replace(/\s+/g, ' '),
poster: item.vod_pic,
episodes,
source: apiSite.key,
@@ -151,7 +151,7 @@ async function searchFromApi(
return {
id: item.vod_id,
title: item.vod_name,
title: item.vod_name.trim().replace(/\s+/g, ' '),
poster: item.vod_pic,
episodes,
source: apiSite.key,