From a07e9b69696c6c624674e23b9b6bb31cd380a9db Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Wed, 21 Aug 2024 05:26:39 +0530 Subject: [PATCH] fix: remove old scrapeList implementation --- maxun-core/src/interpret.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/maxun-core/src/interpret.ts b/maxun-core/src/interpret.ts index 17a7143b..db8d2970 100644 --- a/maxun-core/src/interpret.ts +++ b/maxun-core/src/interpret.ts @@ -101,7 +101,6 @@ export default class Interpreter extends EventEmitter { } } - /** * Returns the context object from given Page and the current workflow.\ * \ @@ -314,11 +313,6 @@ export default class Interpreter extends EventEmitter { await this.options.serializableCallback(scrapeResult); }, - // scrapeList: async (config: { listSelector: string, fields: any, limit?: number, pagination: any }) => { - // await this.ensureScriptsLoaded(page); - // const scrapeResults: Record[] = await page.evaluate((cfg) => window.scrapeList(cfg), config); - // await this.options.serializableCallback(scrapeResults); - // }, scrapeList: async (config: { listSelector: string, fields: any, limit?: number, pagination: any }) => { await this.ensureScriptsLoaded(page);