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
fix lint
Petr Patek3788283c7e46
diff --git a/src/session_pool/session.js b/src/session_pool/session.jsindex 0552f6375..c7f28e89c 100644--- a/src/session_pool/session.js+++ b/src/session_pool/session.js@@ -2,7 +2,6 @@ import { cryptoRandomObjectId } from 'apify-shared/utilities';import { checkParamOrThrow } from 'apify-client/build/utils';import EVENTS from './events';-import { SessionPool } from './session_pool';/**diff --git a/test/session_pool/session_pool.js b/test/session_pool/session_pool.jsindex b7ee2b9f3..e13d75fa0 100644--- a/test/session_pool/session_pool.js+++ b/test/session_pool/session_pool.js@@ -234,7 +234,7 @@ describe('SessionPool - testing session pool', async () => {console.log(sessionPool2 instanceof SessionPool);return new Session({ sessionPool: sessionPool2 });};- const newSessionPool = await Apify.openSessionPool({ createSessionFunction });+ const newSessionPool = await Apify.openSessionPool({ createSessionFunction });const session = await newSessionPool.retrieveSession();expect(isCalled).to.be.true; // eslint-disable-lineexpect(session.constructor.name).to.be.eql("Session") // eslint-disable-line