fix: 哔哩哔哩封面损坏问题

This commit is contained in:
ikechan8370 2023-06-23 21:21:09 +08:00
parent 37b884abe1
commit 39478d2928

View file

@ -30,7 +30,7 @@ export class SendVideoTool extends AbstractTool {
msg.push(title.replace(/(<([^>]+)>)/ig, '') + '\n') msg.push(title.replace(/(<([^>]+)>)/ig, '') + '\n')
msg.push(`UP主${author} 发布日期:${formatDate(new Date(pubdate * 1000))} 播放量:${play} 点赞:${like}\n`) msg.push(`UP主${author} 发布日期:${formatDate(new Date(pubdate * 1000))} 播放量:${play} 点赞:${like}\n`)
msg.push(arcurl + '\n') msg.push(arcurl + '\n')
msg.push(segment.image('https:' + pic)) msg.push(segment.image(pic))
msg.push('\n' + description) msg.push('\n' + description)
if (honor) { if (honor) {
msg.push(`本视频曾获得过${honor}称号`) msg.push(`本视频曾获得过${honor}称号`)