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 pseudo URL docs

Ondra Urbanc2897a358164
diff --git a/src/pseudo_url.js b/src/pseudo_url.js
index b85310f74..c1a314e5c 100644
--- a/src/pseudo_url.js
+++ b/src/pseudo_url.js
@@ -94,7 +94,7 @@ const parsePurl = (purl) => {
* });
*
* // Using a regular expression
- * const purl2 = new Apify.PseudoUrl(/http:\/\/www\.example\.com\/pages\/(\\w|-)+);
+ * const purl2 = new Apify.PseudoUrl(/http:\/\/www\.example\.com\/pages\/(\w|-)+/);
*
* if (purl.matches('http://www.example.com/pages/my-awesome-page')) console.log('Match!');
* ```