diff --git a/lib/routes/chuiniu/column.js b/lib/routes/chuiniu/column.js index 34c503d263..27b84a0d99 100644 --- a/lib/routes/chuiniu/column.js +++ b/lib/routes/chuiniu/column.js @@ -7,7 +7,7 @@ module.exports = async (ctx) => { let response = await got({ method: 'get', - url: 'http://api.duanshu.com/fairy/api/v1/shop/identifier/', + url: 'http://oss-web.duanshu.com/shop/chuiniu-duanshu-com/config.json', headers: { Origin: url, Referer: url, @@ -20,6 +20,7 @@ module.exports = async (ctx) => { url: `http://api.duanshu.com/h5/content/free/column/detail/${column_id}?shop_id=${shop_id}`, headers: { Referer: url, + 'x-platform': 'h5', }, }); const title = response.data.response.data.title;