mirror of
https://github.com/MoonTechLab/LunaTV.git
synced 2026-02-25 13:10:50 +08:00
fix: aggreaget match and keyword trim
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user