diff --git a/lib/v2/sjtu/gs.js b/lib/v2/sjtu/gs.js index 8ecacd030..934b352e9 100644 --- a/lib/v2/sjtu/gs.js +++ b/lib/v2/sjtu/gs.js @@ -35,11 +35,9 @@ module.exports = async (ctx) => { const items = await Promise.all( list.map((item) => ctx.cache.tryGet(item.link, async () => { - if (new URL(item.link).hostname === 'mp.weixin.qq.com') { item.description = (await fetchArticle(ctx, item.link)).description; - } - else { + } else { const detailResponse = await got({ method: 'get', url: item.link,