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.

fixed lint

Petr Patek981ddaff80dc
diff --git a/test/crawlers/cheerio_crawler.test.js b/test/crawlers/cheerio_crawler.test.js
index 0f213be1c..97c819860 100644
--- a/test/crawlers/cheerio_crawler.test.js
+++ b/test/crawlers/cheerio_crawler.test.js
@@ -213,7 +213,7 @@ describe('CheerioCrawler', () => {
handleFailedRequestFunction: ({ request }) => {
failed = request;
},
- prepareRequestFunction: async ({ request, session }) => {
+ prepareRequestFunction: async ({ request }) => {
request.url = MODIFIED_URL;
return request;
},