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: pass on an invisible CF turnstile (#2277)

Jindřich Bärd8734e765238
diff --git a/packages/utils/src/internals/blocked.ts b/packages/utils/src/internals/blocked.ts
index f28c30407..2a4d4fc68 100644
--- a/packages/utils/src/internals/blocked.ts
+++ b/packages/utils/src/internals/blocked.ts
@@ -1,5 +1,5 @@
export const CLOUDFLARE_RETRY_CSS_SELECTORS = [
- 'iframe[src^="https://challenges.cloudflare.com"]',
+ '#turnstile-wrapper iframe[src^="https://challenges.cloudflare.com"]',
];
/**