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.

chore: remove some deadcode

Martin Adámek6b317b7621a3
diff --git a/packages/core/src/request.ts b/packages/core/src/request.ts
index 1b95de778..2ac0c0a5d 100644
--- a/packages/core/src/request.ts
+++ b/packages/core/src/request.ts
@@ -404,16 +404,6 @@ export class Request<UserData extends Dictionary = Dictionary> {
this.errorMessages.push(message);
}
- // TODO: only for better BC, remove in v4
- protected _computeUniqueKey(options: ComputeUniqueKeyOptions) {
- return Request.computeUniqueKey(options);
- }
-
- // TODO: only for better BC, remove in v4
- protected _hashPayload(payload: BinaryLike): string {
- return Request.hashPayload(payload);
- }
-
/** @internal */
static computeUniqueKey({
url,