diff --git a/lib/routes/weibo/utils.ts b/lib/routes/weibo/utils.ts index afee8d978..579dd0dc9 100644 --- a/lib/routes/weibo/utils.ts +++ b/lib/routes/weibo/utils.ts @@ -426,9 +426,28 @@ const weiboUtils = { for (const comment of comments) { itemDesc += '
';
itemDesc += `${comment.user.screen_name}: ${comment.text}`;
+ // 带有图片的评论直接输出图片
+ if ('pic' in comment) {
+ itemDesc += ``;
+ }
if (comment.comments) {
itemDesc += '
'; for (const com of comment.comments) { + // 评论的带有图片的评论直接输出图片 + const pattern = /]*>