diff --git a/lib/routes/gouhuo/index.js b/lib/routes/gouhuo/index.js index d6a0acf87..2931ed7f1 100644 --- a/lib/routes/gouhuo/index.js +++ b/lib/routes/gouhuo/index.js @@ -31,12 +31,12 @@ module.exports = async (ctx) => { const response = await got({ method: 'get', - url: `https://gouhuo.qq.com/content/getHomeMainContent?tabId=${tabId}`, + url: `https://gouhuo.qq.com/content/getContentByTab?tabId=${tabId}`, headers: { Referer: `https://gouhuo.qq.com/`, }, }); - const list = response.data.data; + const list = response.data.data.list; const staffs = await cache.getStaffs(ctx, tabId); const title = staffs[0]; diff --git a/lib/routes/gouhuo/strategy.js b/lib/routes/gouhuo/strategy.js index fcde1691b..7f5e3f531 100644 --- a/lib/routes/gouhuo/strategy.js +++ b/lib/routes/gouhuo/strategy.js @@ -16,13 +16,13 @@ module.exports = async (ctx) => { // eslint-disable-next-line no-eval const obj = eval(body.match(/(?<=