修复最右标题出现没有图片

This commit is contained in:
liangho-ng 2024-04-16 11:34:45 +08:00
parent b5b4cd6c66
commit da9c129339

View File

@ -1424,7 +1424,7 @@ export class tools extends plugin {
const shortVideoInfo = {
authorName: videoAuthorMatch ? videoAuthorMatch[1] : '',
title: videoTitleMatch ? videoTitleMatch[1] : '',
cover: videoCoverMatch ? videoCoverMatch[1] : '',
cover: videoCoverMatch ? videoCoverMatch[1] : '' || images[0],
noWatermarkDownloadUrl: videoUrlMatch ? videoUrlMatch[1] : '',
images,
};