Skip to content

Commit 2b92fa9

Browse files
committed
remove unused ScrapeConfig.extract property
1 parent 7c802aa commit 2b92fa9

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/scrapeconfig.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ export class ScrapeConfig {
7070
webhook?: string = null;
7171
timeout?: number = null; // in milliseconds
7272
js_scenario?: Rec<any> = null;
73-
extract?: Rec<any> = null;
7473
lang?: string[] = null;
7574
os?: string = null;
7675
auto_scroll?: boolean = null;
@@ -108,7 +107,6 @@ export class ScrapeConfig {
108107
webhook?: string;
109108
timeout?: number; // in milliseconds
110109
js_scenario?: Rec<any>;
111-
extract?: Rec<any>;
112110
os?: string;
113111
lang?: string[];
114112
auto_scroll?: boolean;
@@ -157,7 +155,6 @@ export class ScrapeConfig {
157155
this.webhook = options.webhook ?? this.webhook;
158156
this.timeout = options.timeout ?? this.timeout;
159157
this.js_scenario = options.js_scenario ?? this.js_scenario;
160-
this.extract = options.extract ?? this.extract;
161158
this.os = options.os ?? this.os;
162159
this.lang = options.lang ?? this.lang;
163160
this.auto_scroll = options.auto_scroll ?? this.auto_scroll;
@@ -331,7 +328,6 @@ export class ScrapeConfig {
331328
params.os = this.os;
332329
}
333330

334-
// XXX: mising this.extract(?)
335331
return params;
336332
}
337333
}

0 commit comments

Comments
 (0)