const got = require('@/utils/got'); const cheerio = require('cheerio'); module.exports = async (ctx) => { const os = ctx.params.os || 'mac'; const rootUrl = 'https://www.rescuetime.com/release-notes'; const currentUrl = `${rootUrl}/${os}`; const response = await got({ method: 'get', url: currentUrl, }); const $ = cheerio.load(response.data.replace(/