From a51b629f8c1eb86ef3f69769cfc30e2c4c8460a4 Mon Sep 17 00:00:00 2001 From: zytomorrow Date: Sun, 23 Aug 2020 04:21:53 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20weibo/timeline=20=E5=B8=A6=E8=A7=86?= =?UTF-8?q?=E9=A2=91=E7=9A=84=E8=BD=AC=E5=8F=91=E5=BE=AE=E5=8D=9A=E8=A7=86?= =?UTF-8?q?=E9=A2=91=E9=87=8D=E5=A4=8D=E6=98=BE=E7=A4=BA=20(#5479)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: zytomorrow --- lib/routes/weibo/timeline.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/routes/weibo/timeline.js b/lib/routes/weibo/timeline.js index c8b62c2fd..31584c6c1 100644 --- a/lib/routes/weibo/timeline.js +++ b/lib/routes/weibo/timeline.js @@ -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);