fix: weibo/timeline 带视频的转发微博视频重复显示 (#5479)

Co-authored-by: zytomorrow <zytomorrow@github.com>
This commit is contained in:
zytomorrow
2020-08-22 21:21:53 +01:00
committed by GitHub
co-authored by zytomorrow
parent 60c611ec82
commit a51b629f8c
+1 -1
View File
@@ -113,7 +113,7 @@ module.exports = async (ctx) => {
date: item.created_at,
link: `https://m.weibo.cn/detail/${item.id}`,
pic_urls: picUrlList,
videoList,
videoList: Array.from(new Set(videoList)),
};
});
return Promise.resolve(realContent);