diff --git a/routes/index.js b/routes/index.js index 6c19191..eb9d66f 100644 --- a/routes/index.js +++ b/routes/index.js @@ -134,7 +134,7 @@ async function handle(url, htmlStr, jsText, cookie, userAgent, uuid, loadHtmlJs) js = jsText; } console.log(`${uuid};js 加载长度--->`, js.length) - fs.writeFileSync(`./back/${uuid}.js`, cookie) + fs.writeFileSync(`./back/${uuid}.js`, js) // 执行 js let script = new Script(js);