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 lint

Ondra Urban9fdf88d3ed2b
diff --git a/test/crawlers/cheerio_crawler.test.js b/test/crawlers/cheerio_crawler.test.js
index 27ff08b1d..41d2156af 100644
--- a/test/crawlers/cheerio_crawler.test.js
+++ b/test/crawlers/cheerio_crawler.test.js
@@ -875,9 +875,9 @@ async function getRequestListForMirror(port) {
return requestList;
}
-async function startExpressAppPromise(app, port) {
+async function startExpressAppPromise(expressApp, port) {
return new Promise((resolve) => {
- const server = app.listen(port, () => resolve(server));
+ const server = expressApp.listen(port, () => resolve(server));
});
}