From a57ab2fe8be0ff39d0ce8cedd49a2b459a30794b Mon Sep 17 00:00:00 2001 From: Wade Ying <1141028+xapool@users.noreply.github.com> Date: Thu, 16 Apr 2020 19:48:17 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=96=B0=E6=B5=AA?= =?UTF-8?q?=E5=88=9B=E4=BA=8B=E8=AE=B0=E4=B8=93=E6=A0=8F=E6=8A=93=E5=8F=96?= =?UTF-8?q?=20(#4467)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/routes/sina/chuangshiji.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/routes/sina/chuangshiji.js b/lib/routes/sina/chuangshiji.js index 4446fc22ff..46d5029643 100644 --- a/lib/routes/sina/chuangshiji.js +++ b/lib/routes/sina/chuangshiji.js @@ -1,8 +1,10 @@ const got = require('@/utils/got'); const cheerio = require('cheerio'); +const url = 'http://feed.sina.com.cn/api/roll/get?pageid=402&lid=2559&num=20&versionNumber=1.2.8&page=1&encode=utf-8'; + module.exports = async (ctx) => { - const response = await got.get('http://feed.mix.sina.com.cn/api/roll/get?pageid=402&lid=2559&num=20&versionNumber=1.2.8&page=1&encode=utf-8'); + const response = await got.get(url); const list = response.data.result.data; const out = await Promise.all(