diff --git a/lib/routes/coolapk/tuwen.js b/lib/routes/coolapk/tuwen.js index 50129d4ab..8129108eb 100644 --- a/lib/routes/coolapk/tuwen.js +++ b/lib/routes/coolapk/tuwen.js @@ -14,13 +14,13 @@ module.exports = async (ctx) => { data.map(async (item) => { const title = item.title; const pubdate = new Date(item.dateline * 1000).toUTCString(); - const itemUrl = item.shareUrl; + const itemUrl = item.shareUrl.split('?')[0]; const author = item.username; const description = await ctx.cache.tryGet(itemUrl, async () => { const result = await got({ method: 'get', - url: itemUrl.split('?')[0], + url: itemUrl, headers: utils.getHeaders(), }); @@ -53,7 +53,7 @@ module.exports = async (ctx) => { ctx.state.data = { title: `酷安图文`, - link: full_url, + link: 'https://www.coolapk.com/', description: `酷安 - 编辑精选 - 图文`, item: out, };