diff --git a/lib/routes/blow-studio/work.js b/lib/routes/blow-studio/work.js index 91d7db024..904b06dc6 100755 --- a/lib/routes/blow-studio/work.js +++ b/lib/routes/blow-studio/work.js @@ -4,14 +4,14 @@ const cheerio = require('cheerio'); module.exports = async (ctx) => { const response = await got({ method: 'get', - url: `http://blowstudio.es/work`, + url: `https://www.blowstudio.es/work/`, }); const data = response.data; const $ = cheerio.load(data); // 使用 cheerio 加载返回的 HTML const list = $('.portfolios.normal > ul > li').get().slice(0, 10); const articledata = await Promise.all( list.map(async (item) => { - const link = `https://www.blowstudio.es${$(item).find('a').attr('href')}`; + const link = `https://www.blowstudio.es${$(item).find('a').attr('href')}/`; const cache = await ctx.cache.get(link); if (cache) { diff --git a/lib/routes/cneb/guoneinews.js b/lib/routes/cneb/guoneinews.js old mode 100644 new mode 100755