From 87476c3e355dee2e6e1505771336142811987b72 Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Fri, 16 Aug 2024 18:21:34 +0530 Subject: [PATCH] fix: remove flexible param --- maxun-core/src/interpret.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maxun-core/src/interpret.ts b/maxun-core/src/interpret.ts index 1e62566e..44dddf8d 100644 --- a/maxun-core/src/interpret.ts +++ b/maxun-core/src/interpret.ts @@ -291,7 +291,7 @@ export default class Interpreter extends EventEmitter { await this.options.serializableCallback(scrapeResult); }, - scrapeList: async (config: { listSelector: string, fields: any, limit?: number, flexible?: boolean, pagination: any }) => { + 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);