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.
TypeScript apifyautomationcrawlercrawlingheadlessheadless-chromejavascriptnodejsnpmplaywrightpuppeteerscraperscrapingtypescriptweb-crawlerweb-crawlingweb-scraping
docs: fix RetryRequestError() description (#1676)
Jindřich Bär770b127e198a
diff --git a/packages/core/src/errors.ts b/packages/core/src/errors.tsindex 6fe11f7cf..b4312f187 100644--- a/packages/core/src/errors.ts+++ b/packages/core/src/errors.ts@@ -14,7 +14,9 @@ export class CriticalError extends NonRetryableError {}export class MissingRouteError extends CriticalError {}/**- * Indicates that the request should be retried (while still respecting the maximum number of retries).+ * Errors of `RetryRequestError` type will always be retried by the crawler.+ *+ * *This error overrides the `maxRequestRetries` option, i.e. the request can be retried indefinitely until it succeeds.**/export class RetryRequestError extends Error {constructor(message?: string) {