fix: 吹牛部落 (#4230)

This commit is contained in:
Chenyang Shi
2020-03-13 00:34:00 +08:00
committed by GitHub
parent b77f9da493
commit 4570002ebe
+2 -1
View File
@@ -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;