@xberg-io/crawlberg-wasm 1.5.2 → 1.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/pkg/bundler/crawlberg_wasm.d.ts +10 -10
- package/pkg/bundler/crawlberg_wasm_bg.js +233 -224
- package/pkg/bundler/crawlberg_wasm_bg.wasm +0 -0
- package/pkg/bundler/crawlberg_wasm_bg.wasm.d.ts +36 -36
- package/pkg/bundler/package.json +1 -1
- package/pkg/deno/crawlberg_wasm.d.ts +10 -10
- package/pkg/deno/crawlberg_wasm.js +233 -224
- package/pkg/deno/crawlberg_wasm_bg.wasm +0 -0
- package/pkg/deno/crawlberg_wasm_bg.wasm.d.ts +36 -36
- package/pkg/nodejs/crawlberg_wasm.d.ts +10 -10
- package/pkg/nodejs/crawlberg_wasm.js +233 -224
- package/pkg/nodejs/crawlberg_wasm_bg.wasm +0 -0
- package/pkg/nodejs/crawlberg_wasm_bg.wasm.d.ts +36 -36
- package/pkg/nodejs/package.json +1 -1
- package/pkg/web/crawlberg_wasm.d.ts +46 -46
- package/pkg/web/crawlberg_wasm.js +233 -224
- package/pkg/web/crawlberg_wasm_bg.wasm +0 -0
- package/pkg/web/crawlberg_wasm_bg.wasm.d.ts +36 -36
- package/pkg/web/package.json +1 -1
|
Binary file
|
|
@@ -73,6 +73,7 @@ export const wasmarticlemetadata_set_tags: (a: number, b: number, c: number) =>
|
|
|
73
73
|
export const wasmarticlemetadata_tags: (a: number) => [number, number];
|
|
74
74
|
export const wasmauthconfig_default: () => number;
|
|
75
75
|
export const wasmauthconfig_name: (a: number) => [number, number];
|
|
76
|
+
export const wasmauthconfig_new: () => number;
|
|
76
77
|
export const wasmauthconfig_password: (a: number) => [number, number];
|
|
77
78
|
export const wasmauthconfig_set_name: (a: number, b: number, c: number) => void;
|
|
78
79
|
export const wasmauthconfig_set_password: (a: number, b: number, c: number) => void;
|
|
@@ -110,10 +111,16 @@ export const wasmbatchscraperesult_set_error: (a: number, b: number, c: number)
|
|
|
110
111
|
export const wasmbatchscraperesult_set_result: (a: number, b: number) => void;
|
|
111
112
|
export const wasmbatchscraperesult_set_url: (a: number, b: number, c: number) => void;
|
|
112
113
|
export const wasmbatchscraperesult_url: (a: number) => [number, number];
|
|
114
|
+
export const wasmbatchscraperesults_completedCount: (a: number) => number;
|
|
113
115
|
export const wasmbatchscraperesults_default: () => number;
|
|
116
|
+
export const wasmbatchscraperesults_failedCount: (a: number) => number;
|
|
114
117
|
export const wasmbatchscraperesults_new: (a: number, b: number, c: number, d: number, e: number) => number;
|
|
115
118
|
export const wasmbatchscraperesults_results: (a: number) => [number, number];
|
|
119
|
+
export const wasmbatchscraperesults_set_completedCount: (a: number, b: number) => void;
|
|
120
|
+
export const wasmbatchscraperesults_set_failedCount: (a: number, b: number) => void;
|
|
116
121
|
export const wasmbatchscraperesults_set_results: (a: number, b: number, c: number) => void;
|
|
122
|
+
export const wasmbatchscraperesults_set_totalCount: (a: number, b: number) => void;
|
|
123
|
+
export const wasmbatchscraperesults_totalCount: (a: number) => number;
|
|
117
124
|
export const wasmbrowserconfig_backend: (a: number) => [number, number];
|
|
118
125
|
export const wasmbrowserconfig_blockUrlPatterns: (a: number) => [number, number];
|
|
119
126
|
export const wasmbrowserconfig_captureNetworkEvents: (a: number) => number;
|
|
@@ -237,6 +244,7 @@ export const wasmcrawlconfig_new: (a: number, b: number, c: number, d: number, e
|
|
|
237
244
|
export const wasmcrawlconfig_proxy: (a: number) => number;
|
|
238
245
|
export const wasmcrawlconfig_rateLimitMs: (a: number) => [number, bigint];
|
|
239
246
|
export const wasmcrawlconfig_removeTags: (a: number) => [number, number];
|
|
247
|
+
export const wasmcrawlconfig_requestTimeout: (a: number) => [number, bigint];
|
|
240
248
|
export const wasmcrawlconfig_respectRobotsTxt: (a: number) => number;
|
|
241
249
|
export const wasmcrawlconfig_retryCodes: (a: number) => [number, number];
|
|
242
250
|
export const wasmcrawlconfig_retryCount: (a: number) => number;
|
|
@@ -276,6 +284,7 @@ export const wasmcrawlconfig_set_maxRedirects: (a: number, b: number) => void;
|
|
|
276
284
|
export const wasmcrawlconfig_set_proxy: (a: number, b: number) => void;
|
|
277
285
|
export const wasmcrawlconfig_set_rateLimitMs: (a: number, b: number, c: bigint) => void;
|
|
278
286
|
export const wasmcrawlconfig_set_removeTags: (a: number, b: number, c: number) => void;
|
|
287
|
+
export const wasmcrawlconfig_set_requestTimeout: (a: number, b: number, c: bigint) => void;
|
|
279
288
|
export const wasmcrawlconfig_set_respectRobotsTxt: (a: number, b: number) => void;
|
|
280
289
|
export const wasmcrawlconfig_set_retryCodes: (a: number, b: number, c: number) => void;
|
|
281
290
|
export const wasmcrawlconfig_set_retryCount: (a: number, b: number) => void;
|
|
@@ -368,7 +377,9 @@ export const wasmdownloadedasset_set_assetCategory: (a: number, b: number) => vo
|
|
|
368
377
|
export const wasmdownloadedasset_set_contentHash: (a: number, b: number, c: number) => void;
|
|
369
378
|
export const wasmdownloadedasset_set_htmlTag: (a: number, b: number, c: number) => void;
|
|
370
379
|
export const wasmdownloadedasset_set_mimeType: (a: number, b: number, c: number) => void;
|
|
380
|
+
export const wasmdownloadedasset_set_size: (a: number, b: number) => void;
|
|
371
381
|
export const wasmdownloadedasset_set_url: (a: number, b: number, c: number) => void;
|
|
382
|
+
export const wasmdownloadedasset_size: (a: number) => number;
|
|
372
383
|
export const wasmdownloadedasset_url: (a: number) => [number, number];
|
|
373
384
|
export const wasmdownloadeddocument_contentBase64: (a: number) => [number, number];
|
|
374
385
|
export const wasmdownloadeddocument_contentHash: (a: number) => [number, number];
|
|
@@ -391,12 +402,20 @@ export const wasmdownloadeddocument_size: (a: number) => number;
|
|
|
391
402
|
export const wasmdownloadeddocument_truncated: (a: number) => number;
|
|
392
403
|
export const wasmdownloadeddocument_url: (a: number) => [number, number];
|
|
393
404
|
export const wasmextractionmeta_chunksProcessed: (a: number) => number;
|
|
405
|
+
export const wasmextractionmeta_completionTokens: (a: number) => [number, bigint];
|
|
406
|
+
export const wasmextractionmeta_cost: (a: number) => [number, number];
|
|
394
407
|
export const wasmextractionmeta_default: () => number;
|
|
395
408
|
export const wasmextractionmeta_model: (a: number) => [number, number];
|
|
396
409
|
export const wasmextractionmeta_new: (a: number, b: number, c: number, d: number, e: bigint, f: number, g: bigint, h: number, i: number) => number;
|
|
410
|
+
export const wasmextractionmeta_promptTokens: (a: number) => [number, bigint];
|
|
397
411
|
export const wasmextractionmeta_set_chunksProcessed: (a: number, b: number) => void;
|
|
412
|
+
export const wasmextractionmeta_set_completionTokens: (a: number, b: number, c: bigint) => void;
|
|
413
|
+
export const wasmextractionmeta_set_cost: (a: number, b: number, c: number) => void;
|
|
398
414
|
export const wasmextractionmeta_set_model: (a: number, b: number, c: number) => void;
|
|
415
|
+
export const wasmextractionmeta_set_promptTokens: (a: number, b: number, c: bigint) => void;
|
|
416
|
+
export const wasmfaviconinfo_default: () => number;
|
|
399
417
|
export const wasmfaviconinfo_mimeType: (a: number) => [number, number];
|
|
418
|
+
export const wasmfaviconinfo_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
400
419
|
export const wasmfaviconinfo_rel: (a: number) => [number, number];
|
|
401
420
|
export const wasmfaviconinfo_set_mimeType: (a: number, b: number, c: number) => void;
|
|
402
421
|
export const wasmfaviconinfo_set_rel: (a: number, b: number, c: number) => void;
|
|
@@ -419,6 +438,7 @@ export const wasmheadinginfo_set_level: (a: number, b: number) => void;
|
|
|
419
438
|
export const wasmheadinginfo_set_text: (a: number, b: number, c: number) => void;
|
|
420
439
|
export const wasmheadinginfo_text: (a: number) => [number, number];
|
|
421
440
|
export const wasmhostmatcher_default: () => number;
|
|
441
|
+
export const wasmhostmatcher_new: () => number;
|
|
422
442
|
export const wasmhostmatcher_set_type: (a: number, b: number, c: number) => void;
|
|
423
443
|
export const wasmhostmatcher_set_value: (a: number, b: number, c: number) => void;
|
|
424
444
|
export const wasmhostmatcher_type: (a: number) => [number, number];
|
|
@@ -437,8 +457,10 @@ export const wasmimageinfo_set_alt: (a: number, b: number, c: number) => void;
|
|
|
437
457
|
export const wasmimageinfo_set_height: (a: number, b: number) => void;
|
|
438
458
|
export const wasmimageinfo_set_source: (a: number, b: number) => void;
|
|
439
459
|
export const wasmimageinfo_set_url: (a: number, b: number, c: number) => void;
|
|
460
|
+
export const wasmimageinfo_set_width: (a: number, b: number) => void;
|
|
440
461
|
export const wasmimageinfo_source: (a: number) => [number, number];
|
|
441
462
|
export const wasmimageinfo_url: (a: number) => [number, number];
|
|
463
|
+
export const wasmimageinfo_width: (a: number) => number;
|
|
442
464
|
export const wasminteractionresult_actionResults: (a: number) => [number, number];
|
|
443
465
|
export const wasminteractionresult_default: () => number;
|
|
444
466
|
export const wasminteractionresult_finalHtml: (a: number) => [number, number];
|
|
@@ -460,8 +482,10 @@ export const wasmjsonldentry_set_schemaType: (a: number, b: number, c: number) =
|
|
|
460
482
|
export const wasmlinkinfo_default: () => number;
|
|
461
483
|
export const wasmlinkinfo_linkType: (a: number) => [number, number];
|
|
462
484
|
export const wasmlinkinfo_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
485
|
+
export const wasmlinkinfo_nofollow: (a: number) => number;
|
|
463
486
|
export const wasmlinkinfo_rel: (a: number) => [number, number];
|
|
464
487
|
export const wasmlinkinfo_set_linkType: (a: number, b: number) => void;
|
|
488
|
+
export const wasmlinkinfo_set_nofollow: (a: number, b: number) => void;
|
|
465
489
|
export const wasmlinkinfo_set_rel: (a: number, b: number, c: number) => void;
|
|
466
490
|
export const wasmlinkinfo_set_text: (a: number, b: number, c: number) => void;
|
|
467
491
|
export const wasmlinkinfo_set_url: (a: number, b: number, c: number) => void;
|
|
@@ -485,15 +509,20 @@ export const wasmmarkdownresult_set_tables: (a: number, b: any) => void;
|
|
|
485
509
|
export const wasmmarkdownresult_set_warnings: (a: number, b: number, c: number) => void;
|
|
486
510
|
export const wasmmarkdownresult_tables: (a: number) => any;
|
|
487
511
|
export const wasmmarkdownresult_warnings: (a: number) => [number, number];
|
|
512
|
+
export const wasmpageaction_amount: (a: number) => [number, bigint];
|
|
488
513
|
export const wasmpageaction_default: () => number;
|
|
489
514
|
export const wasmpageaction_direction: (a: number) => number;
|
|
490
515
|
export const wasmpageaction_fullPage: (a: number) => number;
|
|
491
516
|
export const wasmpageaction_key: (a: number) => [number, number];
|
|
517
|
+
export const wasmpageaction_milliseconds: (a: number) => [number, bigint];
|
|
518
|
+
export const wasmpageaction_new: () => number;
|
|
492
519
|
export const wasmpageaction_script: (a: number) => [number, number];
|
|
493
520
|
export const wasmpageaction_selector: (a: number) => [number, number];
|
|
521
|
+
export const wasmpageaction_set_amount: (a: number, b: number, c: bigint) => void;
|
|
494
522
|
export const wasmpageaction_set_direction: (a: number, b: number) => void;
|
|
495
523
|
export const wasmpageaction_set_fullPage: (a: number, b: number) => void;
|
|
496
524
|
export const wasmpageaction_set_key: (a: number, b: number, c: number) => void;
|
|
525
|
+
export const wasmpageaction_set_milliseconds: (a: number, b: number, c: bigint) => void;
|
|
497
526
|
export const wasmpageaction_set_script: (a: number, b: number, c: number) => void;
|
|
498
527
|
export const wasmpageaction_set_selector: (a: number, b: number, c: number) => void;
|
|
499
528
|
export const wasmpageaction_set_text: (a: number, b: number, c: number) => void;
|
|
@@ -577,6 +606,7 @@ export const wasmpagemetadata_set_twitterImage: (a: number, b: number, c: number
|
|
|
577
606
|
export const wasmpagemetadata_set_twitterSite: (a: number, b: number, c: number) => void;
|
|
578
607
|
export const wasmpagemetadata_set_twitterTitle: (a: number, b: number, c: number) => void;
|
|
579
608
|
export const wasmpagemetadata_set_viewport: (a: number, b: number, c: number) => void;
|
|
609
|
+
export const wasmpagemetadata_set_wordCount: (a: number, b: number) => void;
|
|
580
610
|
export const wasmpagemetadata_themeColor: (a: number) => [number, number];
|
|
581
611
|
export const wasmpagemetadata_title: (a: number) => [number, number];
|
|
582
612
|
export const wasmpagemetadata_twitterCard: (a: number) => [number, number];
|
|
@@ -586,6 +616,7 @@ export const wasmpagemetadata_twitterImage: (a: number) => [number, number];
|
|
|
586
616
|
export const wasmpagemetadata_twitterSite: (a: number) => [number, number];
|
|
587
617
|
export const wasmpagemetadata_twitterTitle: (a: number) => [number, number];
|
|
588
618
|
export const wasmpagemetadata_viewport: (a: number) => [number, number];
|
|
619
|
+
export const wasmpagemetadata_wordCount: (a: number) => number;
|
|
589
620
|
export const wasmproxyconfig_default: () => number;
|
|
590
621
|
export const wasmproxyconfig_new: (a: number, b: number, c: number, d: number, e: number, f: number) => number;
|
|
591
622
|
export const wasmproxyconfig_password: (a: number) => [number, number];
|
|
@@ -616,6 +647,7 @@ export const wasmscraperesult_bodySize: (a: number) => number;
|
|
|
616
647
|
export const wasmscraperesult_browser: (a: number) => number;
|
|
617
648
|
export const wasmscraperesult_browserUsed: (a: number) => number;
|
|
618
649
|
export const wasmscraperesult_contentType: (a: number) => [number, number];
|
|
650
|
+
export const wasmscraperesult_crawlDelay: (a: number) => [number, bigint];
|
|
619
651
|
export const wasmscraperesult_default: () => number;
|
|
620
652
|
export const wasmscraperesult_detectedCharset: (a: number) => [number, number];
|
|
621
653
|
export const wasmscraperesult_downloadedDocument: (a: number) => number;
|
|
@@ -643,6 +675,7 @@ export const wasmscraperesult_set_bodySize: (a: number, b: number) => void;
|
|
|
643
675
|
export const wasmscraperesult_set_browser: (a: number, b: number) => void;
|
|
644
676
|
export const wasmscraperesult_set_browserUsed: (a: number, b: number) => void;
|
|
645
677
|
export const wasmscraperesult_set_contentType: (a: number, b: number, c: number) => void;
|
|
678
|
+
export const wasmscraperesult_set_crawlDelay: (a: number, b: number, c: bigint) => void;
|
|
646
679
|
export const wasmscraperesult_set_detectedCharset: (a: number, b: number, c: number) => void;
|
|
647
680
|
export const wasmscraperesult_set_downloadedDocument: (a: number, b: number) => void;
|
|
648
681
|
export const wasmscraperesult_set_extractedData: (a: number, b: number) => void;
|
|
@@ -689,42 +722,9 @@ export const wasmssrfpolicy_set_allowlist: (a: number, b: any) => void;
|
|
|
689
722
|
export const wasmssrfpolicy_set_denyPrivate: (a: number, b: number) => void;
|
|
690
723
|
export const wasmssrfpolicy_set_maxRedirects: (a: number, b: number) => void;
|
|
691
724
|
export const wasmssrfpolicy_set_schemeAllowlist: (a: number, b: number, c: number) => void;
|
|
692
|
-
export const
|
|
693
|
-
export const
|
|
694
|
-
export const
|
|
695
|
-
export const wasmextractionmeta_set_promptTokens: (a: number, b: number, c: bigint) => void;
|
|
696
|
-
export const wasmpageaction_set_milliseconds: (a: number, b: number, c: bigint) => void;
|
|
697
|
-
export const wasmcrawlconfig_requestTimeout: (a: number) => [number, bigint];
|
|
698
|
-
export const wasmextractionmeta_completionTokens: (a: number) => [number, bigint];
|
|
699
|
-
export const wasmextractionmeta_cost: (a: number) => [number, number];
|
|
700
|
-
export const wasmextractionmeta_promptTokens: (a: number) => [number, bigint];
|
|
701
|
-
export const wasmpageaction_amount: (a: number) => [number, bigint];
|
|
702
|
-
export const wasmpageaction_milliseconds: (a: number) => [number, bigint];
|
|
703
|
-
export const wasmscraperesult_crawlDelay: (a: number) => [number, bigint];
|
|
704
|
-
export const wasmfaviconinfo_default: () => number;
|
|
705
|
-
export const wasmbatchscraperesults_set_completedCount: (a: number, b: number) => void;
|
|
706
|
-
export const wasmbatchscraperesults_set_failedCount: (a: number, b: number) => void;
|
|
707
|
-
export const wasmbatchscraperesults_set_totalCount: (a: number, b: number) => void;
|
|
708
|
-
export const wasmdownloadedasset_set_size: (a: number, b: number) => void;
|
|
709
|
-
export const wasmimageinfo_set_width: (a: number, b: number) => void;
|
|
710
|
-
export const wasmpagemetadata_set_wordCount: (a: number, b: number) => void;
|
|
711
|
-
export const wasmbatchscraperesults_completedCount: (a: number) => number;
|
|
712
|
-
export const wasmbatchscraperesults_failedCount: (a: number) => number;
|
|
713
|
-
export const wasmbatchscraperesults_totalCount: (a: number) => number;
|
|
714
|
-
export const wasmdownloadedasset_size: (a: number) => number;
|
|
715
|
-
export const wasmlinkinfo_set_nofollow: (a: number, b: number) => void;
|
|
716
|
-
export const wasmfaviconinfo_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
717
|
-
export const wasmimageinfo_width: (a: number) => number;
|
|
718
|
-
export const wasmpagemetadata_wordCount: (a: number) => number;
|
|
719
|
-
export const wasmlinkinfo_nofollow: (a: number) => number;
|
|
720
|
-
export const wasmauthconfig_new: () => number;
|
|
721
|
-
export const wasmextractionmeta_set_cost: (a: number, b: number, c: number) => void;
|
|
722
|
-
export const wasmpageaction_set_amount: (a: number, b: number, c: bigint) => void;
|
|
723
|
-
export const wasmscraperesult_set_crawlDelay: (a: number, b: number, c: bigint) => void;
|
|
724
|
-
export const wasmpageaction_new: () => number;
|
|
725
|
-
export const wasm_bindgen__convert__closures_____invoke__h6e6fec37c02cb65f: (a: number, b: number, c: any) => [number, number];
|
|
726
|
-
export const wasm_bindgen__convert__closures_____invoke__hbab77f1211c923b7: (a: number, b: number, c: any, d: any) => void;
|
|
727
|
-
export const wasm_bindgen__convert__closures_____invoke__h1d72c46fe7a75bc3: (a: number, b: number) => void;
|
|
725
|
+
export const wasm_bindgen__convert__closures_____invoke__h5567083e9d00da74: (a: number, b: number, c: any) => [number, number];
|
|
726
|
+
export const wasm_bindgen__convert__closures_____invoke__h9cb213bb50b5f7d0: (a: number, b: number, c: any, d: any) => void;
|
|
727
|
+
export const wasm_bindgen__convert__closures_____invoke__h00e67b488e823f1f: (a: number, b: number) => void;
|
|
728
728
|
export const __wbindgen_malloc: (a: number, b: number) => number;
|
|
729
729
|
export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
730
730
|
export const __wbindgen_exn_store: (a: number) => void;
|
package/pkg/bundler/package.json
CHANGED
|
@@ -173,10 +173,10 @@ export class WasmBrowserConfig {
|
|
|
173
173
|
sessionAffinity: boolean;
|
|
174
174
|
get timeout(): bigint | undefined;
|
|
175
175
|
set timeout(value: bigint | null | undefined);
|
|
176
|
-
get wait(): string;
|
|
177
|
-
set wait(value: WasmBrowserWait);
|
|
178
176
|
get waitSelector(): string | undefined;
|
|
179
177
|
set waitSelector(value: string | null | undefined);
|
|
178
|
+
get wait(): string;
|
|
179
|
+
set wait(value: WasmBrowserWait);
|
|
180
180
|
}
|
|
181
181
|
|
|
182
182
|
/**
|
|
@@ -263,8 +263,8 @@ export class WasmContentConfig {
|
|
|
263
263
|
removeNavigation: boolean;
|
|
264
264
|
skipImages: boolean;
|
|
265
265
|
stripTags: string[];
|
|
266
|
-
wrap: boolean;
|
|
267
266
|
wrapWidth: number;
|
|
267
|
+
wrap: boolean;
|
|
268
268
|
}
|
|
269
269
|
|
|
270
270
|
/**
|
|
@@ -297,7 +297,7 @@ export class WasmCrawlConfig {
|
|
|
297
297
|
free(): void;
|
|
298
298
|
[Symbol.dispose](): void;
|
|
299
299
|
static default(): WasmCrawlConfig;
|
|
300
|
-
constructor(crawlStrategy?: WasmCrawlStrategyKind | null, respectRobotsTxt?: boolean | null, softHttpErrors?: boolean | null, stayOnDomain?: boolean | null, allowSubdomains?: boolean | null, includePaths?: string[] | null, excludePaths?: string[] | null, customHeaders?: any | null, requestTimeout?: bigint | null, maxRedirects?: number | null, retryCount?: number | null, retryCodes?: Uint16Array | null, cookiesEnabled?: boolean | null, removeTags?: string[] | null, content?: WasmContentConfig | null, downloadAssets?: boolean | null, assetTypes?:
|
|
300
|
+
constructor(crawlStrategy?: WasmCrawlStrategyKind | null, respectRobotsTxt?: boolean | null, softHttpErrors?: boolean | null, stayOnDomain?: boolean | null, allowSubdomains?: boolean | null, includePaths?: string[] | null, excludePaths?: string[] | null, customHeaders?: any | null, requestTimeout?: bigint | null, maxRedirects?: number | null, retryCount?: number | null, retryCodes?: Uint16Array | null, cookiesEnabled?: boolean | null, removeTags?: string[] | null, content?: WasmContentConfig | null, downloadAssets?: boolean | null, assetTypes?: WasmAssetCategory[] | null, browser?: WasmBrowserConfig | null, userAgents?: string[] | null, captureScreenshot?: boolean | null, followDocumentUrls?: boolean | null, downloadDocuments?: boolean | null, documentMimeTypes?: string[] | null, saveBrowserProfile?: boolean | null, ssrf?: WasmSsrfPolicy | null, maxDepth?: number | null, maxPages?: number | null, maxLinksPerPage?: number | null, maxConcurrent?: number | null, contentFilter?: WasmContentFilterKind | null, bm25Query?: string | null, bm25Threshold?: number | null, userAgent?: string | null, rateLimitMs?: bigint | null, auth?: any | null, maxBodySize?: number | null, mapLimit?: number | null, mapSearch?: string | null, maxAssetSize?: number | null, proxy?: WasmProxyConfig | null, documentUrlDepth?: number | null, documentMaxSize?: number | null, documentOutputDir?: string | null, documentContentEncoding?: WasmDocumentContentEncoding | null, warcOutput?: string | null, browserProfile?: string | null, ssrfDenyPrivateExplicit?: boolean | null);
|
|
301
301
|
/**
|
|
302
302
|
* Validate the configuration, returning an error if any values are invalid.
|
|
303
303
|
*/
|
|
@@ -310,13 +310,13 @@ export class WasmCrawlConfig {
|
|
|
310
310
|
set bm25Query(value: string | null | undefined);
|
|
311
311
|
get bm25Threshold(): number | undefined;
|
|
312
312
|
set bm25Threshold(value: number | null | undefined);
|
|
313
|
-
browser: WasmBrowserConfig;
|
|
314
313
|
get browserProfile(): string | undefined;
|
|
315
314
|
set browserProfile(value: string | null | undefined);
|
|
315
|
+
browser: WasmBrowserConfig;
|
|
316
316
|
captureScreenshot: boolean;
|
|
317
|
-
content: WasmContentConfig;
|
|
318
317
|
get contentFilter(): string | undefined;
|
|
319
318
|
set contentFilter(value: WasmContentFilterKind | null | undefined);
|
|
319
|
+
content: WasmContentConfig;
|
|
320
320
|
cookiesEnabled: boolean;
|
|
321
321
|
get crawlStrategy(): string;
|
|
322
322
|
set crawlStrategy(value: WasmCrawlStrategyKind);
|
|
@@ -364,9 +364,9 @@ export class WasmCrawlConfig {
|
|
|
364
364
|
retryCount: number;
|
|
365
365
|
saveBrowserProfile: boolean;
|
|
366
366
|
softHttpErrors: boolean;
|
|
367
|
-
ssrf: WasmSsrfPolicy;
|
|
368
367
|
get ssrfDenyPrivateExplicit(): boolean | undefined;
|
|
369
368
|
set ssrfDenyPrivateExplicit(value: boolean | null | undefined);
|
|
369
|
+
ssrf: WasmSsrfPolicy;
|
|
370
370
|
stayOnDomain: boolean;
|
|
371
371
|
get userAgent(): string | undefined;
|
|
372
372
|
set userAgent(value: string | null | undefined);
|
|
@@ -836,10 +836,10 @@ export class WasmPageMetadata {
|
|
|
836
836
|
set ogDescription(value: string | null | undefined);
|
|
837
837
|
get ogImage(): string | undefined;
|
|
838
838
|
set ogImage(value: string | null | undefined);
|
|
839
|
-
get ogLocale(): string | undefined;
|
|
840
|
-
set ogLocale(value: string | null | undefined);
|
|
841
839
|
get ogLocaleAlternates(): string[] | undefined;
|
|
842
840
|
set ogLocaleAlternates(value: string[] | null | undefined);
|
|
841
|
+
get ogLocale(): string | undefined;
|
|
842
|
+
set ogLocale(value: string | null | undefined);
|
|
843
843
|
get ogSiteName(): string | undefined;
|
|
844
844
|
set ogSiteName(value: string | null | undefined);
|
|
845
845
|
get ogTitle(): string | undefined;
|
|
@@ -924,9 +924,9 @@ export class WasmScrapeResult {
|
|
|
924
924
|
assets: WasmDownloadedAsset[];
|
|
925
925
|
authHeaderSent: boolean;
|
|
926
926
|
bodySize: number;
|
|
927
|
+
browserUsed: boolean;
|
|
927
928
|
get browser(): WasmBrowserExtras | undefined;
|
|
928
929
|
set browser(value: WasmBrowserExtras | null | undefined);
|
|
929
|
-
browserUsed: boolean;
|
|
930
930
|
contentType: string;
|
|
931
931
|
get crawlDelay(): bigint | undefined;
|
|
932
932
|
set crawlDelay(value: bigint | null | undefined);
|