fix: JSON.parse in bilibili dynamic, close #2336
This commit is contained in:
parent
83436a0c49
commit
cce279f901
|
|
@ -12,7 +12,7 @@ module.exports = async (ctx) => {
|
|||
},
|
||||
transformResponse: [(data) => data],
|
||||
});
|
||||
const data = JSONbig.parse(response.data).data.cards;
|
||||
const data = JSONbig.parse(response.body).data.cards;
|
||||
|
||||
ctx.state.data = {
|
||||
title: `${data[0].desc.user_profile.info.uname} 的 bilibili 动态`,
|
||||
|
|
|
|||
Loading…
Reference in New Issue