From c70d64d4cde2bf2acc5c4164eef79c40fd58aa42 Mon Sep 17 00:00:00 2001 From: Mael Date: Sun, 22 Jun 2025 19:08:21 +0200 Subject: feat(workers): migrate from puppeteer to playwright (#1296) * feat: convert to playwright Convert crawling to use Playwright instead of Chrome. - Update Dockerfile to include Playwright - Update crawler worker to use Playwright API - Update dependencies * feat: convert from Puppeteer to Playwright for crawling * feat: update docker-compose * use separate browser context for better isolation * skip chrome download in linux script * readd the stealth plugin --------- Co-authored-by: Mohamed Bassem --- karakeep-linux.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'karakeep-linux.sh') diff --git a/karakeep-linux.sh b/karakeep-linux.sh index e07b3bd3..073c3908 100644 --- a/karakeep-linux.sh +++ b/karakeep-linux.sh @@ -223,7 +223,7 @@ install_karakeep() { mv karakeep-"$RELEASE" "$INSTALL_DIR" && cd "$APP_DIR"/web corepack enable export NEXT_TELEMETRY_DISABLED=1 - export PUPPETEER_SKIP_DOWNLOAD="true" + export PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD="true" export CI="true" $shh pnpm i --frozen-lockfile $shh pnpm build @@ -433,7 +433,7 @@ update_karakeep() { fi corepack enable export NEXT_TELEMETRY_DISABLED=1 - export PUPPETEER_SKIP_DOWNLOAD="true" + export PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD="true" export CI="true" cd "$APP_DIR"/web && $shh pnpm i --frozen-lockfile $shh pnpm build -- cgit v1.2.3-70-g09d2