From fa09519b34fbb3b87474dc6ba87a7b80bfc72838 Mon Sep 17 00:00:00 2001 From: zhiyu1998 Date: Thu, 23 Mar 2023 10:29:16 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20fix:=20=E4=BF=AE=E5=A4=8Dins?= =?UTF-8?q?=E9=83=A8=E5=88=86=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/tools.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/apps/tools.js b/apps/tools.js index d841fab..1d6cd01 100644 --- a/apps/tools.js +++ b/apps/tools.js @@ -885,12 +885,7 @@ export class tools extends plugin { .catch(err => reject(err)); }); }; - await fetch(API, { - timeout: 10000, - agent: new HttpProxyAgent(this.myProxy), - redirect: "follow", - follow: 10, - }).then(async resp => { + await fetch(API).then(async resp => { const html = await resp.text(); const images = html.match(/
/g); if (!_.isNull(images)) {