const got = require('@/utils/got'); const cheerio = require('cheerio'); module.exports = async (ctx) => { const baseUrl = 'https://gouhuo.qq.com'; const url = `${baseUrl}/guide`; const response = await got({ method: 'get', url: url, 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(/(?<=