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.

fix: don't ship `idcac-playwright` as a hard dependency (#3977)

Jindřich Bärc596d23872c1
diff --git a/packages/playwright-crawler/package.json b/packages/playwright-crawler/package.json
index 0d9399856..9e001135d 100644
--- a/packages/playwright-crawler/package.json
+++ b/packages/playwright-crawler/package.json
@@ -57,7 +57,6 @@
"@crawlee/types": "workspace:*",
"@crawlee/utils": "workspace:*",
"cheerio": "^1.0.0",
- "idcac-playwright": "^0.1.3",
"jquery": "^3.7.1",
"ml-logistic-regression": "^2.0.0",
"ml-matrix": "^6.12.1",
diff --git a/packages/puppeteer-crawler/package.json b/packages/puppeteer-crawler/package.json
index 303616cf5..35881016f 100644
--- a/packages/puppeteer-crawler/package.json
+++ b/packages/puppeteer-crawler/package.json
@@ -55,7 +55,6 @@
"@crawlee/utils": "workspace:*",
"cheerio": "^1.0.0",
"devtools-protocol": "*",
- "idcac-playwright": "^0.2.0",
"jquery": "^3.7.1",
"ow": "^2.0.0",
"tslib": "^2.8.1"
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 7d7fc46c9..c5c5b6d95 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -781,8 +781,8 @@ importers:
specifier: ^1.0.0
version: 1.2.0
idcac-playwright:
- specifier: ^0.1.3
- version: 0.1.3
+ specifier: ^0.2.0
+ version: 0.2.0
jquery:
specifier: ^3.7.1
version: 3.7.1
@@ -7952,9 +7952,6 @@ packages:
peerDependencies:
postcss: ^8.1.0
- resolution: {integrity: sha512-VVYQ4sv6OrUJKVzYaIP1hq0qAHd1O22HW5LnL1Wf6zkrLStQ/QEg4iJ0rllIOEpd+Rmm+635AJD59A+Vw+2PgQ==}
-
resolution: {integrity: sha512-qJH7vQgq3TKnhea/3Z3jlEJL7NC9vK9BkLClAzQHVRepBtq1fWfSI4fSuMKcPq7nDUTTlIEIS+vU+GRwwR1BXw==}
@@ -21221,8 +21218,6 @@ snapshots:
dependencies:
postcss: 8.5.9
-
diff --git a/test/e2e/playwright-enqueue-links/actor/package.json b/test/e2e/playwright-enqueue-links/actor/package.json
index 6422f2d44..6894cb4f8 100644
--- a/test/e2e/playwright-enqueue-links/actor/package.json
+++ b/test/e2e/playwright-enqueue-links/actor/package.json
@@ -13,6 +13,7 @@
"@crawlee/types": "file:./packages/types",
"@crawlee/utils": "file:./packages/utils",
"deep-equal": "^2.0.5",
+ "idcac-playwright": "^0.2.0",
"playwright": "1.58.2"
},
"overrides": {
diff --git a/test/e2e/puppeteer-enqueue-links/actor/package.json b/test/e2e/puppeteer-enqueue-links/actor/package.json
index 58a2b5329..5acb45535 100644
--- a/test/e2e/puppeteer-enqueue-links/actor/package.json
+++ b/test/e2e/puppeteer-enqueue-links/actor/package.json
@@ -13,6 +13,7 @@
"@crawlee/types": "file:./packages/types",
"@crawlee/utils": "file:./packages/utils",
"deep-equal": "^2.0.5",
+ "idcac-playwright": "^0.2.0",
"puppeteer": "*"
},
"overrides": {