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.

Update puppeteers_request_interception.js

Marek Trunkát0e5a4e2bedf4
diff --git a/src/puppeteers_request_interception.js b/src/puppeteers_request_interception.js
index 7bebbd671..473f7a866 100644
--- a/src/puppeteers_request_interception.js
+++ b/src/puppeteers_request_interception.js
@@ -57,7 +57,7 @@ const handleRequest = (request, interceptRequestHandlers) => {
* Adds request interception handler in similar to `page.on('request', handler);` but in addition to that
* supports multiple parallel handlers.
*
- * All the handlers are executed in a serie as were added.
+ * All the handlers are executed sequentially in the order as they were added.
* Each of the handlers must call one of `request.continue()`, `request.abort()` and `request.respond()`.
* In addition to that any of the handlers may modify the request object by passing its overrides to `request.continue()`.
* If multiple handlers modify same property then the last one wins.