Skip to content

Crawlee—A web scraping and browser automation library for Node.js to build reliable crawlers. In JavaScript and TypeScript. Extract data for AI, LLMs, RAG, or GPTs. Download HTML, PDF, JPG, PNG, and other files from websites. Works with Puppeteer, Playwright, Cheerio, JSDOM, and raw HTTP. Both headful and headless mode. With proxy rotation.

Trying --disable-setuid-sandbox

Marek Trunkat9083f51cf3b0
diff --git a/src/puppeteer.js b/src/puppeteer.js
index d099b8fa0..6cd52b6e3 100644
--- a/src/puppeteer.js
+++ b/src/puppeteer.js
@@ -4,7 +4,7 @@ import { parseUrl } from './utils';
import { ENV_VARS } from './constants';
export const PUPPETEER_DEFAULT_OPTS = {
- args: ['--no-sandbox'],
+ args: ['--no-sandbox', '--disable-setuid-sandbox'],
headless: !!process.env[ENV_VARS.HEADLESS],
proxyUrl: null,
};