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
chore: await the route.continue() before we return it
Martin Adámek67b10c7b62bc
diff --git a/src/playwright_utils.js b/src/playwright_utils.jsindex a0b66d44a..7509f5956 100644--- a/src/playwright_utils.js+++ b/src/playwright_utils.js@@ -61,7 +61,7 @@ export const gotoExtended = async (page, request, gotoOptions = {}) => {// We want to ensure that this won't get executed again in a case that there is a subsequent request// for example for some asset file link from main HTML.if (wasCalled) {- return route.continue();+ return await route.continue();}wasCalled = true;