diff --git a/api/src/processing/services/xiaohongshu.js b/api/src/processing/services/xiaohongshu.js index d428aaf9..4637358e 100644 --- a/api/src/processing/services/xiaohongshu.js +++ b/api/src/processing/services/xiaohongshu.js @@ -43,7 +43,7 @@ export default async function ({ id, token, shareId, h265, isAudioOnly, dispatch const initialState = html .split('')[0] - .replace(/:undefined/g, ":null"); + .replace(/:\s*undefined/g, ":null"); const data = JSON.parse(initialState);