From c81ad394858122d2284a62b50c96a2a57cc33ea1 Mon Sep 17 00:00:00 2001 From: Yuzu Date: Mon, 19 Aug 2024 16:33:39 +0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix:=20chromium=20flags?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/Request.ts | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/utils/Request.ts b/src/utils/Request.ts index 178afea..6197117 100644 --- a/src/utils/Request.ts +++ b/src/utils/Request.ts @@ -158,18 +158,6 @@ async function updateHeaderAndCookies(id: string = "-VKIqrvVOpo") { try { const browser = await chromium.launch({ headless: true, - args: [ - "--disable-gpu", - "--disable-dev-shm-usage", - "--disable-setuid-sandbox", - "--no-first-run", - "--no-sandbox", - "--no-zygote", - "--deterministic-fetch", - "--disable-features=IsolateOrigins", - "--disable-site-isolation-trials", - "--single-process", - ], }); const page = await browser.newPage();