const got = require('@/utils/got'); const cheerio = require('cheerio'); const self = { _getProfile: async (ctx) => { const key = 'gouhuo-profile'; let profile = await ctx.cache.get(key); if (!profile) { const response = await got({ method: 'get', url: `https://gouhuo.qq.com/`, headers: { Referer: `https://gouhuo.qq.com/`, }, }); const body = response.data; const $ = cheerio.load(body); // eslint-disable-next-line no-eval const obj = eval(body.match(/(?<=