From 32d4637e79f78169f8f11f5970490a9052168b4d Mon Sep 17 00:00:00 2001 From: liuweiqing Date: Thu, 4 Apr 2024 09:23:57 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=8E=BB=E9=99=A4=E7=9B=91=E5=90=ACrequ?= =?UTF-8?q?est?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pteer.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pteer.js b/pteer.js index 76904afc..a6da6ec2 100644 --- a/pteer.js +++ b/pteer.js @@ -25,11 +25,11 @@ require("dotenv").config(); console.error(`Error: ${error.message}`); }); page.on("console", (msg) => console.log("PAGE LOG:", msg.text())); - // 监听所有请求 - page.on("request", (request) => { - console.log("Request URL:", request.url()); - console.log("Request Headers:", request.headers()); - }); + // // 监听所有请求 + // page.on("request", (request) => { + // console.log("Request URL:", request.url()); + // console.log("Request Headers:", request.headers()); + // }); //登录操作 await page.goto("https://linux.do");