@mendable/n8n-nodes-firecrawl 1.0.0

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.
Files changed (59) hide show
  1. package/LICENSE.md +19 -0
  2. package/README.md +85 -0
  3. package/dist/credentials/FirecrawlApi.credentials.d.ts +8 -0
  4. package/dist/credentials/FirecrawlApi.credentials.js +37 -0
  5. package/dist/credentials/FirecrawlApi.credentials.js.map +1 -0
  6. package/dist/nodes/Firecrawl/Firecrawl.node.d.ts +21 -0
  7. package/dist/nodes/Firecrawl/Firecrawl.node.js +40 -0
  8. package/dist/nodes/Firecrawl/Firecrawl.node.js.map +1 -0
  9. package/dist/nodes/Firecrawl/Firecrawl.node.json +18 -0
  10. package/dist/nodes/Firecrawl/api/common.d.ts +11 -0
  11. package/dist/nodes/Firecrawl/api/common.js +595 -0
  12. package/dist/nodes/Firecrawl/api/common.js.map +1 -0
  13. package/dist/nodes/Firecrawl/api/crawl/index.d.ts +6 -0
  14. package/dist/nodes/Firecrawl/api/crawl/index.js +249 -0
  15. package/dist/nodes/Firecrawl/api/crawl/index.js.map +1 -0
  16. package/dist/nodes/Firecrawl/api/extract/index.d.ts +4 -0
  17. package/dist/nodes/Firecrawl/api/extract/index.js +219 -0
  18. package/dist/nodes/Firecrawl/api/extract/index.js.map +1 -0
  19. package/dist/nodes/Firecrawl/api/getCrawlStatus/index.d.ts +6 -0
  20. package/dist/nodes/Firecrawl/api/getCrawlStatus/index.js +57 -0
  21. package/dist/nodes/Firecrawl/api/getCrawlStatus/index.js.map +1 -0
  22. package/dist/nodes/Firecrawl/api/getExtractStatus/index.d.ts +4 -0
  23. package/dist/nodes/Firecrawl/api/getExtractStatus/index.js +54 -0
  24. package/dist/nodes/Firecrawl/api/getExtractStatus/index.js.map +1 -0
  25. package/dist/nodes/Firecrawl/api/index.d.ts +24 -0
  26. package/dist/nodes/Firecrawl/api/index.js +74 -0
  27. package/dist/nodes/Firecrawl/api/index.js.map +1 -0
  28. package/dist/nodes/Firecrawl/api/map/index.d.ts +6 -0
  29. package/dist/nodes/Firecrawl/api/map/index.js +151 -0
  30. package/dist/nodes/Firecrawl/api/map/index.js.map +1 -0
  31. package/dist/nodes/Firecrawl/api/scrape/index.d.ts +6 -0
  32. package/dist/nodes/Firecrawl/api/scrape/index.js +18 -0
  33. package/dist/nodes/Firecrawl/api/scrape/index.js.map +1 -0
  34. package/dist/nodes/Firecrawl/firecrawl.svg +31 -0
  35. package/dist/nodes/Firecrawl/helpers/http/requestModifiers.d.ts +2 -0
  36. package/dist/nodes/Firecrawl/helpers/http/requestModifiers.js +16 -0
  37. package/dist/nodes/Firecrawl/helpers/http/requestModifiers.js.map +1 -0
  38. package/dist/nodes/Firecrawl/helpers/http/responseHandlers.d.ts +7 -0
  39. package/dist/nodes/Firecrawl/helpers/http/responseHandlers.js +57 -0
  40. package/dist/nodes/Firecrawl/helpers/http/responseHandlers.js.map +1 -0
  41. package/dist/nodes/Firecrawl/helpers/index.d.ts +7 -0
  42. package/dist/nodes/Firecrawl/helpers/index.js +33 -0
  43. package/dist/nodes/Firecrawl/helpers/index.js.map +1 -0
  44. package/dist/nodes/Firecrawl/helpers/types.d.ts +18 -0
  45. package/dist/nodes/Firecrawl/helpers/types.js +3 -0
  46. package/dist/nodes/Firecrawl/helpers/types.js.map +1 -0
  47. package/dist/nodes/Firecrawl/helpers/utils/propertyBuilders.d.ts +5 -0
  48. package/dist/nodes/Firecrawl/helpers/utils/propertyBuilders.js +27 -0
  49. package/dist/nodes/Firecrawl/helpers/utils/propertyBuilders.js.map +1 -0
  50. package/dist/nodes/Firecrawl/methods.d.ts +17 -0
  51. package/dist/nodes/Firecrawl/methods.js +10 -0
  52. package/dist/nodes/Firecrawl/methods.js.map +1 -0
  53. package/dist/nodes/Firecrawl/properties.d.ts +5 -0
  54. package/dist/nodes/Firecrawl/properties.js +196 -0
  55. package/dist/nodes/Firecrawl/properties.js.map +1 -0
  56. package/dist/package.json +53 -0
  57. package/dist/tsconfig.tsbuildinfo +1 -0
  58. package/index.js +0 -0
  59. package/package.json +53 -0
@@ -0,0 +1,595 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.buildApiProperties = exports.createOperationOption = exports.createScrapeOptionsProperty = exports.createExcludeTagsProperty = exports.createIncludeTagsProperty = exports.createLocationProperty = exports.createActionsProperty = exports.createUrlProperty = exports.createOperationNotice = exports.formatOperationName = void 0;
4
+ const helpers_1 = require("../helpers");
5
+ function formatOperationName(name) {
6
+ return name
7
+ .split(/(?=[A-Z])/)
8
+ .map((word) => word.charAt(0).toUpperCase() + word.slice(1))
9
+ .join(' ');
10
+ }
11
+ exports.formatOperationName = formatOperationName;
12
+ function createOperationNotice(resourceName, operationName, method = 'POST') {
13
+ return {
14
+ displayName: `${method} /${operationName}`,
15
+ name: 'operation',
16
+ type: 'notice',
17
+ typeOptions: {
18
+ theme: 'info',
19
+ },
20
+ default: '',
21
+ displayOptions: {
22
+ show: {
23
+ resource: [resourceName],
24
+ operation: [operationName],
25
+ },
26
+ },
27
+ };
28
+ }
29
+ exports.createOperationNotice = createOperationNotice;
30
+ function createUrlProperty(operationName, defaultUrl = 'https://firecrawl.dev', resourceName = 'Default') {
31
+ return {
32
+ displayName: 'Url',
33
+ name: 'url',
34
+ type: 'string',
35
+ default: defaultUrl,
36
+ routing: {
37
+ request: {
38
+ body: {
39
+ url: '={{ $value }}',
40
+ },
41
+ },
42
+ },
43
+ displayOptions: {
44
+ hide: {
45
+ useCustomBody: [true],
46
+ },
47
+ show: {
48
+ resource: [resourceName],
49
+ operation: [operationName],
50
+ },
51
+ },
52
+ };
53
+ }
54
+ exports.createUrlProperty = createUrlProperty;
55
+ function createActionsProperty(operationName, omitDisplayOptions = false, useNestedScrapeOptions = true) {
56
+ return {
57
+ displayName: 'Actions',
58
+ name: 'actions',
59
+ type: 'fixedCollection',
60
+ default: [],
61
+ typeOptions: {
62
+ multipleValues: true,
63
+ },
64
+ description: 'List of actions to interact with dynamic content before scraping',
65
+ placeholder: 'Add item',
66
+ options: [
67
+ {
68
+ displayName: 'Items',
69
+ name: 'items',
70
+ values: [
71
+ {
72
+ displayName: 'Type',
73
+ type: 'options',
74
+ default: 'wait',
75
+ options: [
76
+ {
77
+ name: 'Click',
78
+ value: 'click',
79
+ },
80
+ {
81
+ name: 'Press',
82
+ value: 'press',
83
+ },
84
+ {
85
+ name: 'Screenshot',
86
+ value: 'screenshot',
87
+ },
88
+ {
89
+ name: 'Scroll',
90
+ value: 'scroll',
91
+ },
92
+ {
93
+ name: 'Wait',
94
+ value: 'wait',
95
+ },
96
+ {
97
+ name: 'Write',
98
+ value: 'write',
99
+ },
100
+ ],
101
+ name: 'type',
102
+ },
103
+ {
104
+ displayName: 'Selector',
105
+ type: 'string',
106
+ default: '',
107
+ description: 'The CSS selector for `click` and `write` actions',
108
+ name: 'selector',
109
+ displayOptions: {
110
+ show: {
111
+ type: ['click', 'scroll'],
112
+ },
113
+ },
114
+ },
115
+ {
116
+ displayName: 'Milliseconds',
117
+ type: 'number',
118
+ default: 1000,
119
+ description: 'Milliseconds to wait for `wait` action',
120
+ name: 'milliseconds',
121
+ displayOptions: {
122
+ show: {
123
+ type: ['wait'],
124
+ },
125
+ },
126
+ },
127
+ {
128
+ displayName: 'Full Page',
129
+ type: 'boolean',
130
+ default: false,
131
+ description: 'Whether the screenshot should be full-page or viewport sized',
132
+ name: 'fullPage',
133
+ displayOptions: {
134
+ show: {
135
+ type: ['screenshot'],
136
+ },
137
+ },
138
+ },
139
+ {
140
+ displayName: 'Text',
141
+ type: 'string',
142
+ default: '',
143
+ description: 'Text for `write` action',
144
+ name: 'text',
145
+ displayOptions: {
146
+ show: {
147
+ type: ['write'],
148
+ },
149
+ },
150
+ },
151
+ {
152
+ displayName: 'Key',
153
+ type: 'string',
154
+ default: '',
155
+ description: 'Key for `press` action',
156
+ name: 'key',
157
+ displayOptions: {
158
+ show: {
159
+ type: ['press'],
160
+ },
161
+ },
162
+ },
163
+ {
164
+ displayName: 'Direction',
165
+ type: 'options',
166
+ default: 'down',
167
+ description: 'Direction for `scroll` action',
168
+ name: 'direction',
169
+ options: [
170
+ {
171
+ name: 'Down',
172
+ value: 'down',
173
+ },
174
+ {
175
+ name: 'Up',
176
+ value: 'up',
177
+ },
178
+ ],
179
+ displayOptions: {
180
+ show: {
181
+ type: ['scroll'],
182
+ },
183
+ },
184
+ },
185
+ ],
186
+ },
187
+ ],
188
+ routing: {
189
+ request: {
190
+ body: useNestedScrapeOptions
191
+ ? {
192
+ scrapeOptions: {
193
+ actions: '={{Array.isArray($value.items) ? $value.items : []}}',
194
+ },
195
+ }
196
+ : {
197
+ actions: '={{Array.isArray($value.items) ? $value.items : []}}',
198
+ },
199
+ },
200
+ },
201
+ displayOptions: omitDisplayOptions
202
+ ? undefined
203
+ : {
204
+ hide: {
205
+ useCustomBody: [true],
206
+ },
207
+ show: {
208
+ resource: ['Default'],
209
+ operation: [operationName],
210
+ },
211
+ },
212
+ };
213
+ }
214
+ exports.createActionsProperty = createActionsProperty;
215
+ function createLocationProperty(operationName, omitDisplayOptions = false, useNestedScrapeOptions = true) {
216
+ return {
217
+ displayName: 'Location',
218
+ name: 'location',
219
+ type: 'fixedCollection',
220
+ default: {},
221
+ description: 'Location settings for the request',
222
+ options: [
223
+ {
224
+ displayName: 'Location Settings',
225
+ name: 'settings',
226
+ values: [
227
+ {
228
+ displayName: 'Country',
229
+ name: 'country',
230
+ type: 'options',
231
+ default: 'US',
232
+ description: "ISO 3166-1 alpha-2 country code (e.g., 'US', 'AU', 'DE', 'JP')",
233
+ options: [
234
+ {
235
+ name: 'US',
236
+ value: 'US',
237
+ },
238
+ {
239
+ name: 'AU',
240
+ value: 'AU',
241
+ },
242
+ {
243
+ name: 'DE',
244
+ value: 'DE',
245
+ },
246
+ {
247
+ name: 'JP',
248
+ value: 'JP',
249
+ },
250
+ ],
251
+ },
252
+ {
253
+ displayName: 'Languages',
254
+ name: 'languages',
255
+ type: 'fixedCollection',
256
+ default: {},
257
+ typeOptions: {
258
+ multipleValues: true,
259
+ },
260
+ description: 'Preferred languages and locales for the request in order of priority. Defaults to the language of the specified location. See https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-Language',
261
+ options: [
262
+ {
263
+ displayName: 'Language',
264
+ name: 'language',
265
+ values: [
266
+ {
267
+ displayName: 'Code',
268
+ name: 'code',
269
+ type: 'string',
270
+ default: '',
271
+ description: "Language code (e.g., 'en', 'fr', 'de', 'ja')",
272
+ },
273
+ ],
274
+ },
275
+ ],
276
+ },
277
+ ],
278
+ },
279
+ ],
280
+ routing: {
281
+ request: {
282
+ body: useNestedScrapeOptions
283
+ ? {
284
+ scrapeOptions: {
285
+ location: '={{$value.settings ? { country: $value.settings.country, languages: $value.settings.languages?.language?.map(l => l.code) || [] } : undefined}}',
286
+ },
287
+ }
288
+ : {
289
+ location: '={{$value.settings ? { country: $value.settings.country, languages: $value.settings.languages?.language?.map(l => l.code) || [] } : undefined}}',
290
+ },
291
+ },
292
+ },
293
+ displayOptions: omitDisplayOptions
294
+ ? undefined
295
+ : {
296
+ hide: {
297
+ useCustomBody: [true],
298
+ },
299
+ show: {
300
+ resource: ['Default'],
301
+ operation: [operationName],
302
+ },
303
+ },
304
+ };
305
+ }
306
+ exports.createLocationProperty = createLocationProperty;
307
+ function createIncludeTagsProperty(operationName, omitDisplayOptions = false, useNestedScrapeOptions = true) {
308
+ return {
309
+ displayName: 'Include Tags',
310
+ name: 'includeTags',
311
+ type: 'fixedCollection',
312
+ default: {},
313
+ typeOptions: {
314
+ multipleValues: true,
315
+ },
316
+ description: 'Specifies tags to include in the output',
317
+ placeholder: 'Add tag to include',
318
+ options: [
319
+ {
320
+ displayName: 'Items',
321
+ name: 'items',
322
+ values: [
323
+ {
324
+ displayName: 'Tag',
325
+ name: 'tag',
326
+ type: 'string',
327
+ default: '',
328
+ placeholder: 'header',
329
+ description: 'Tag to include in the output',
330
+ },
331
+ ],
332
+ },
333
+ ],
334
+ routing: {
335
+ request: {
336
+ body: useNestedScrapeOptions
337
+ ? {
338
+ scrapeOptions: {
339
+ includeTags: '={{$value.items ? $value.items.map(item => item.tag) : []}}',
340
+ },
341
+ }
342
+ : {
343
+ includeTags: '={{$value.items ? $value.items.map(item => item.tag) : []}}',
344
+ },
345
+ },
346
+ },
347
+ displayOptions: omitDisplayOptions
348
+ ? undefined
349
+ : {
350
+ hide: {
351
+ useCustomBody: [true],
352
+ },
353
+ show: {
354
+ resource: ['Default'],
355
+ operation: [operationName],
356
+ },
357
+ },
358
+ };
359
+ }
360
+ exports.createIncludeTagsProperty = createIncludeTagsProperty;
361
+ function createExcludeTagsProperty(operationName, omitDisplayOptions = false, useNestedScrapeOptions = true) {
362
+ return {
363
+ displayName: 'Exclude Tags',
364
+ name: 'excludeTags',
365
+ type: 'fixedCollection',
366
+ default: {},
367
+ typeOptions: {
368
+ multipleValues: true,
369
+ },
370
+ description: 'Specifies tags to exclude from the output',
371
+ placeholder: 'Add tag to exclude',
372
+ options: [
373
+ {
374
+ displayName: 'Items',
375
+ name: 'items',
376
+ values: [
377
+ {
378
+ displayName: 'Tag',
379
+ name: 'tag',
380
+ type: 'string',
381
+ default: '',
382
+ placeholder: 'footer',
383
+ description: 'Tag to exclude from the output',
384
+ },
385
+ ],
386
+ },
387
+ ],
388
+ routing: {
389
+ request: {
390
+ body: useNestedScrapeOptions
391
+ ? {
392
+ scrapeOptions: {
393
+ excludeTags: '={{$value.items ? $value.items.map(item => item.tag) : []}}',
394
+ },
395
+ }
396
+ : {
397
+ excludeTags: '={{$value.items ? $value.items.map(item => item.tag) : []}}',
398
+ },
399
+ },
400
+ },
401
+ displayOptions: omitDisplayOptions
402
+ ? undefined
403
+ : {
404
+ hide: {
405
+ useCustomBody: [true],
406
+ },
407
+ show: {
408
+ resource: ['Default'],
409
+ operation: [operationName],
410
+ },
411
+ },
412
+ };
413
+ }
414
+ exports.createExcludeTagsProperty = createExcludeTagsProperty;
415
+ function createScrapeOptionsProperty(operationName, useNestedScrapeOptions = true) {
416
+ const scrapeOptionsBody = useNestedScrapeOptions
417
+ ? { scrapeOptions: '={{$value.options}}' }
418
+ : '={{$value.options}}';
419
+ return {
420
+ displayName: 'Scrape Options',
421
+ name: 'scrapeOptions',
422
+ type: 'fixedCollection',
423
+ default: {},
424
+ description: 'Options for scraping content during the crawl',
425
+ options: [
426
+ {
427
+ displayName: 'Options',
428
+ name: 'options',
429
+ values: [
430
+ {
431
+ displayName: 'Formats',
432
+ name: 'formats',
433
+ type: 'multiOptions',
434
+ default: ['markdown'],
435
+ description: 'Output format(s) for the scraped data',
436
+ options: [
437
+ {
438
+ name: 'HTML',
439
+ value: 'html',
440
+ },
441
+ {
442
+ name: 'JSON',
443
+ value: 'json',
444
+ },
445
+ {
446
+ name: 'Links',
447
+ value: 'links',
448
+ },
449
+ {
450
+ name: 'Markdown',
451
+ value: 'markdown',
452
+ },
453
+ {
454
+ name: 'Raw HTML',
455
+ value: 'rawHtml',
456
+ },
457
+ {
458
+ name: 'Screenshot',
459
+ value: 'screenshot',
460
+ },
461
+ ],
462
+ },
463
+ {
464
+ displayName: 'Only Main Content',
465
+ name: 'onlyMainContent',
466
+ type: 'boolean',
467
+ default: true,
468
+ description: 'Whether to only return the main content of the page excluding headers, navs, footers, etc',
469
+ },
470
+ createIncludeTagsProperty(operationName, true, useNestedScrapeOptions),
471
+ createExcludeTagsProperty(operationName, true, useNestedScrapeOptions),
472
+ {
473
+ displayName: 'Headers',
474
+ name: 'headers',
475
+ type: 'collection',
476
+ default: {},
477
+ description: 'Headers to send with the request',
478
+ options: [
479
+ {
480
+ displayName: 'Key',
481
+ name: 'key',
482
+ type: 'string',
483
+ default: '',
484
+ description: 'Key of the header',
485
+ },
486
+ {
487
+ displayName: 'Value',
488
+ name: 'value',
489
+ type: 'string',
490
+ default: '',
491
+ description: 'Value of the header',
492
+ },
493
+ ],
494
+ },
495
+ {
496
+ displayName: 'Wait For (Ms)',
497
+ name: 'waitFor',
498
+ type: 'number',
499
+ default: 0,
500
+ description: 'Wait milliseconds for the page to load before fetching content',
501
+ },
502
+ {
503
+ displayName: 'Mobile',
504
+ name: 'mobile',
505
+ type: 'boolean',
506
+ default: false,
507
+ description: 'Whether to emulate scraping from a mobile device',
508
+ },
509
+ {
510
+ displayName: 'Skip TLS Verification',
511
+ name: 'skipTlsVerification',
512
+ type: 'boolean',
513
+ default: false,
514
+ description: 'Whether to skip TLS certificate verification when making requests',
515
+ },
516
+ {
517
+ displayName: 'Timeout (Ms)',
518
+ name: 'timeout',
519
+ type: 'number',
520
+ default: 30000,
521
+ description: 'Timeout in milliseconds for the request',
522
+ },
523
+ createActionsProperty(operationName, true, useNestedScrapeOptions),
524
+ createLocationProperty(operationName, true, useNestedScrapeOptions),
525
+ {
526
+ displayName: 'Remove Base64 Images',
527
+ name: 'removeBase64Images',
528
+ type: 'boolean',
529
+ default: true,
530
+ description: 'Whether to remove base64 encoded images from the output',
531
+ },
532
+ {
533
+ displayName: 'Block Ads',
534
+ name: 'blockAds',
535
+ type: 'boolean',
536
+ default: true,
537
+ description: 'Whether to enables ad-blocking and cookie popup blocking',
538
+ },
539
+ {
540
+ displayName: 'Proxy',
541
+ name: 'proxy',
542
+ type: 'options',
543
+ default: 'basic',
544
+ description: 'Specifies the type of proxy to use',
545
+ options: [
546
+ {
547
+ name: 'Basic',
548
+ value: 'basic',
549
+ },
550
+ {
551
+ name: 'Stealth',
552
+ value: 'stealth',
553
+ },
554
+ ],
555
+ },
556
+ ],
557
+ },
558
+ ],
559
+ routing: {
560
+ request: {
561
+ body: scrapeOptionsBody,
562
+ },
563
+ },
564
+ displayOptions: {
565
+ hide: {
566
+ useCustomBody: [true],
567
+ },
568
+ show: {
569
+ resource: ['Default'],
570
+ operation: [operationName],
571
+ },
572
+ },
573
+ };
574
+ }
575
+ exports.createScrapeOptionsProperty = createScrapeOptionsProperty;
576
+ function createOperationOption(name, action) {
577
+ return {
578
+ name: action,
579
+ value: name,
580
+ action,
581
+ routing: {
582
+ request: {
583
+ method: 'POST',
584
+ url: `=/${name}`,
585
+ },
586
+ },
587
+ };
588
+ }
589
+ exports.createOperationOption = createOperationOption;
590
+ function buildApiProperties(name, action, properties) {
591
+ const option = createOperationOption(name, action);
592
+ return (0, helpers_1.buildPropertiesWithOptions)(option, properties);
593
+ }
594
+ exports.buildApiProperties = buildApiProperties;
595
+ //# sourceMappingURL=common.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"common.js","sourceRoot":"","sources":["../../../../nodes/Firecrawl/api/common.ts"],"names":[],"mappings":";;;AACA,wCAAwD;AAOxD,SAAgB,mBAAmB,CAAC,IAAY;IAE/C,OAAO,IAAI;SACT,KAAK,CAAC,WAAW,CAAC;SAClB,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;SAC3D,IAAI,CAAC,GAAG,CAAC,CAAC;AACb,CAAC;AAND,kDAMC;AAQD,SAAgB,qBAAqB,CACpC,YAAoB,EACpB,aAAqB,EACrB,SAAiB,MAAM;IAEvB,OAAO;QACN,WAAW,EAAE,GAAG,MAAM,KAAK,aAAa,EAAE;QAC1C,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,QAAQ;QACd,WAAW,EAAE;YACZ,KAAK,EAAE,MAAM;SACb;QACD,OAAO,EAAE,EAAE;QACX,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,YAAY,CAAC;gBACxB,SAAS,EAAE,CAAC,aAAa,CAAC;aAC1B;SACD;KACD,CAAC;AACH,CAAC;AApBD,sDAoBC;AASD,SAAgB,iBAAiB,CAChC,aAAqB,EACrB,aAAqB,uBAAuB,EAC5C,eAAuB,SAAS;IAEhC,OAAO;QACN,WAAW,EAAE,KAAK;QAClB,IAAI,EAAE,KAAK;QACX,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,UAAU;QAC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AAI,EAAE,iBAAiB;aACvB;SACD;QACD,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,aAAa,EAAE,CAAC,IAAI,CAAC;aACrB;YACD,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,SAAS,CAAC;gBACrB,SAAS,EAAE,CAAC,aAAa,CAAC;aAC1B;SACD;KACD,CAAC;AACH,CAAC;AAnKD,kEAmKC;AAQD,SAAgB,qBAAqB,CAAC,IAAY,EAAE,MAAc;IACjE,OAAO;QACN,IAAI,EAAE,MAAM;QACZ,KAAK,EAAE,IAAI;QACX,MAAM;QACN,OAAO,EAAE;YACR,OAAO,EAAE;gBACR,MAAM,EAAE,MAAM;gBACd,GAAG,EAAE,KAAK,IAAI,EAAE;aAChB;SACD;KACD,CAAC;AACH,CAAC;AAZD,sDAYC;AASD,SAAgB,kBAAkB,CAAC,IAAY,EAAE,MAAc,EAAE,UAA6B;IAC7F,MAAM,MAAM,GAAG,qBAAqB,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;IACnD,OAAO,IAAA,oCAA0B,EAAC,MAAM,EAAE,UAAU,CAAC,CAAC;AACvD,CAAC;AAHD,gDAGC"}
@@ -0,0 +1,6 @@
1
+ import { INodeProperties } from 'n8n-workflow';
2
+ export declare const name = "crawl";
3
+ export declare const displayName = "Crawl a website";
4
+ export declare const operationName = "crawl";
5
+ declare const options: import("n8n-workflow").INodePropertyOptions, properties: INodeProperties[];
6
+ export { options, properties };