mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-09-24 23:12:34 +08:00
fix: 吹牛部落 (#4230)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user