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(