From 38fe6de33f6fbf8f25f2a5e4effb1a4a9553916b Mon Sep 17 00:00:00 2001 From: DIYgod Date: Wed, 25 Dec 2019 11:25:05 +0800 Subject: [PATCH] fix: weibo keyword, close #3583 --- lib/routes/weibo/keyword.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/routes/weibo/keyword.js b/lib/routes/weibo/keyword.js index 7c34c71d3..5d6a83e14 100644 --- a/lib/routes/weibo/keyword.js +++ b/lib/routes/weibo/keyword.js @@ -15,7 +15,7 @@ module.exports = async (ctx) => { 'User-Agent': 'Mozilla/5.0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Mobile/15A372 Safari/604.1', }, }); - const data = response.data.data.cards[0].card_group; + const data = response.data.data.cards; ctx.state.data = { title: `又有人在微博提到${keyword}了`,