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.

Remove request-promise specific options

Ondra Urbanf36921524732
diff --git a/src/cheerio_crawler.js b/src/cheerio_crawler.js
index 298757100..d8dc4a602 100644
--- a/src/cheerio_crawler.js
+++ b/src/cheerio_crawler.js
@@ -398,8 +398,6 @@ class CheerioCrawler {
method: request.method,
headers: Object.assign({}, request.headers, { Accept: 'text/html' }),
strictSSL: !this.ignoreSslErrors,
- resolveWithFullResponse: true,
- simple: false,
proxy: this._getProxyUrl(),
};
return Object.assign({}, this.requestOptions, mandatoryRequestOptions);