增加剧集更新检查

This commit is contained in:
mtvpls
2025-12-18 23:44:14 +08:00
parent 0ae5923b4b
commit c60e25ded6
12 changed files with 864 additions and 9 deletions
+7
View File
@@ -16,6 +16,7 @@ interface ApiSearchItem {
vod_content?: string;
vod_douban_id?: number;
type_name?: string;
vod_total?: number;
}
/**
@@ -114,6 +115,8 @@ async function searchWithCache(
desc: cleanHtmlTags(item.vod_content || ''),
type_name: item.type_name,
douban_id: item.vod_douban_id,
vod_remarks: item.vod_remarks,
vod_total: item.vod_total,
};
});
@@ -283,6 +286,8 @@ export async function getDetailFromApi(
desc: cleanHtmlTags(videoDetail.vod_content),
type_name: videoDetail.type_name,
douban_id: videoDetail.vod_douban_id,
vod_remarks: videoDetail.vod_remarks,
vod_total: videoDetail.vod_total,
};
}
@@ -363,5 +368,7 @@ async function handleSpecialSourceDetail(
desc: descText,
type_name: '',
douban_id: 0,
vod_remarks: undefined,
vod_total: undefined,
};
}