diff --git a/lib/routes/weibo/timeline.js b/lib/routes/weibo/timeline.js index a6a10946a..ed91e75c4 100644 --- a/lib/routes/weibo/timeline.js +++ b/lib/routes/weibo/timeline.js @@ -96,27 +96,12 @@ module.exports = async (ctx) => { } else { title = `${item.user.name}--原创微博`; } - let link = 'https://weibo.com'; - try { - await got.get(`http://api.weibo.com/2/statuses/go?access_token=${token}&id=${item.id}&uid=${item.user.id}`, { - hooks: { - beforeRedirect: [ - (options) => { - options.followRedirect = false; - link = options.href; - }, - ], - }, - }); - } catch (error) { - // nothing - } return { title: title, content: content, author: item.user.name, date: item.created_at, - link: link, + link: `https://m.weibo.cn/detail/${item.id}`, pic_urls: picUrlList, videoList, };