@mendable/n8n-nodes-firecrawl 1.0.6 → 1.2.1
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/README.md +72 -8
- package/dist/nodes/Firecrawl/Firecrawl.node.d.ts +0 -3
- package/dist/nodes/Firecrawl/Firecrawl.node.js +2 -1
- package/dist/nodes/Firecrawl/Firecrawl.node.js.map +1 -1
- package/dist/nodes/Firecrawl/api/agent/index.d.ts +5 -0
- package/dist/nodes/Firecrawl/api/agent/index.js +364 -0
- package/dist/nodes/Firecrawl/api/agent/index.js.map +1 -0
- package/dist/nodes/Firecrawl/api/agentAsync/index.d.ts +5 -0
- package/dist/nodes/Firecrawl/api/agentAsync/index.js +262 -0
- package/dist/nodes/Firecrawl/api/agentAsync/index.js.map +1 -0
- package/dist/nodes/Firecrawl/api/batchScrape/index.d.ts +2 -1
- package/dist/nodes/Firecrawl/api/batchScrape/index.js +56 -7
- package/dist/nodes/Firecrawl/api/batchScrape/index.js.map +1 -1
- package/dist/nodes/Firecrawl/api/batchScrapeErrors/index.d.ts +1 -0
- package/dist/nodes/Firecrawl/api/batchScrapeErrors/index.js +4 -3
- package/dist/nodes/Firecrawl/api/batchScrapeErrors/index.js.map +1 -1
- package/dist/nodes/Firecrawl/api/batchScrapeStatus/index.d.ts +1 -0
- package/dist/nodes/Firecrawl/api/batchScrapeStatus/index.js +4 -3
- package/dist/nodes/Firecrawl/api/batchScrapeStatus/index.js.map +1 -1
- package/dist/nodes/Firecrawl/api/cancelBatchScrape/index.d.ts +1 -0
- package/dist/nodes/Firecrawl/api/cancelBatchScrape/index.js +4 -3
- package/dist/nodes/Firecrawl/api/cancelBatchScrape/index.js.map +1 -1
- package/dist/nodes/Firecrawl/api/cancelCrawl/index.d.ts +1 -0
- package/dist/nodes/Firecrawl/api/cancelCrawl/index.js +4 -3
- package/dist/nodes/Firecrawl/api/cancelCrawl/index.js.map +1 -1
- package/dist/nodes/Firecrawl/api/common.d.ts +7 -5
- package/dist/nodes/Firecrawl/api/common.js +180 -60
- package/dist/nodes/Firecrawl/api/common.js.map +1 -1
- package/dist/nodes/Firecrawl/api/crawl/index.d.ts +2 -1
- package/dist/nodes/Firecrawl/api/crawl/index.js +24 -23
- package/dist/nodes/Firecrawl/api/crawl/index.js.map +1 -1
- package/dist/nodes/Firecrawl/api/crawlActive/index.d.ts +1 -0
- package/dist/nodes/Firecrawl/api/crawlActive/index.js +3 -2
- package/dist/nodes/Firecrawl/api/crawlActive/index.js.map +1 -1
- package/dist/nodes/Firecrawl/api/crawlParamsPreview/index.d.ts +1 -0
- package/dist/nodes/Firecrawl/api/crawlParamsPreview/index.js +4 -3
- package/dist/nodes/Firecrawl/api/crawlParamsPreview/index.js.map +1 -1
- package/dist/nodes/Firecrawl/api/creditUsageHistorical/index.d.ts +1 -0
- package/dist/nodes/Firecrawl/api/creditUsageHistorical/index.js +3 -2
- package/dist/nodes/Firecrawl/api/creditUsageHistorical/index.js.map +1 -1
- package/dist/nodes/Firecrawl/api/extract/index.d.ts +1 -0
- package/dist/nodes/Firecrawl/api/extract/index.js +20 -19
- package/dist/nodes/Firecrawl/api/extract/index.js.map +1 -1
- package/dist/nodes/Firecrawl/api/getAgentStatus/index.d.ts +5 -0
- package/dist/nodes/Firecrawl/api/getAgentStatus/index.js +52 -0
- package/dist/nodes/Firecrawl/api/getAgentStatus/index.js.map +1 -0
- package/dist/nodes/Firecrawl/api/getCrawlErrors/index.d.ts +1 -0
- package/dist/nodes/Firecrawl/api/getCrawlErrors/index.js +4 -3
- package/dist/nodes/Firecrawl/api/getCrawlErrors/index.js.map +1 -1
- package/dist/nodes/Firecrawl/api/getCrawlStatus/index.d.ts +1 -0
- package/dist/nodes/Firecrawl/api/getCrawlStatus/index.js +4 -3
- package/dist/nodes/Firecrawl/api/getCrawlStatus/index.js.map +1 -1
- package/dist/nodes/Firecrawl/api/getExtractStatus/index.d.ts +1 -0
- package/dist/nodes/Firecrawl/api/getExtractStatus/index.js +4 -3
- package/dist/nodes/Firecrawl/api/getExtractStatus/index.js.map +1 -1
- package/dist/nodes/Firecrawl/api/index.d.ts +36 -17
- package/dist/nodes/Firecrawl/api/index.js +171 -54
- package/dist/nodes/Firecrawl/api/index.js.map +1 -1
- package/dist/nodes/Firecrawl/api/map/index.d.ts +2 -1
- package/dist/nodes/Firecrawl/api/map/index.js +15 -14
- package/dist/nodes/Firecrawl/api/map/index.js.map +1 -1
- package/dist/nodes/Firecrawl/api/scrape/index.d.ts +2 -1
- package/dist/nodes/Firecrawl/api/scrape/index.js +56 -7
- package/dist/nodes/Firecrawl/api/scrape/index.js.map +1 -1
- package/dist/nodes/Firecrawl/api/search/index.d.ts +2 -1
- package/dist/nodes/Firecrawl/api/search/index.js +13 -9
- package/dist/nodes/Firecrawl/api/search/index.js.map +1 -1
- package/dist/nodes/Firecrawl/api/teamCreditUsage/index.d.ts +1 -0
- package/dist/nodes/Firecrawl/api/teamCreditUsage/index.js +3 -2
- package/dist/nodes/Firecrawl/api/teamCreditUsage/index.js.map +1 -1
- package/dist/nodes/Firecrawl/api/teamQueueStatus/index.d.ts +1 -0
- package/dist/nodes/Firecrawl/api/teamQueueStatus/index.js +3 -2
- package/dist/nodes/Firecrawl/api/teamQueueStatus/index.js.map +1 -1
- package/dist/nodes/Firecrawl/api/teamTokenUsage/index.d.ts +1 -0
- package/dist/nodes/Firecrawl/api/teamTokenUsage/index.js +3 -2
- package/dist/nodes/Firecrawl/api/teamTokenUsage/index.js.map +1 -1
- package/dist/nodes/Firecrawl/api/teamTokenUsageHistorical/index.d.ts +1 -0
- package/dist/nodes/Firecrawl/api/teamTokenUsageHistorical/index.js +3 -2
- package/dist/nodes/Firecrawl/api/teamTokenUsageHistorical/index.js.map +1 -1
- package/dist/nodes/Firecrawl/methods.d.ts +0 -3
- package/dist/nodes/Firecrawl/methods.js +17 -2
- package/dist/nodes/Firecrawl/methods.js.map +1 -1
- package/dist/nodes/Firecrawl/properties.js +40 -63
- package/dist/nodes/Firecrawl/properties.js.map +1 -1
- package/dist/package.json +3 -3
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.properties = exports.options = exports.operationName = exports.displayName = exports.name = void 0;
|
|
3
|
+
exports.properties = exports.options = exports.resourceName = exports.operationName = exports.displayName = exports.name = void 0;
|
|
4
4
|
const common_1 = require("../common");
|
|
5
5
|
exports.name = 'getCrawlStatus';
|
|
6
6
|
exports.displayName = 'Get crawl status';
|
|
7
7
|
exports.operationName = 'getCrawlStatus';
|
|
8
|
+
exports.resourceName = 'Crawling';
|
|
8
9
|
function createCrawlIdProperty() {
|
|
9
10
|
return {
|
|
10
11
|
displayName: 'Crawl ID',
|
|
@@ -21,7 +22,7 @@ function createCrawlIdProperty() {
|
|
|
21
22
|
},
|
|
22
23
|
displayOptions: {
|
|
23
24
|
show: {
|
|
24
|
-
resource: [
|
|
25
|
+
resource: [exports.resourceName],
|
|
25
26
|
operation: [exports.operationName],
|
|
26
27
|
},
|
|
27
28
|
},
|
|
@@ -29,7 +30,7 @@ function createCrawlIdProperty() {
|
|
|
29
30
|
}
|
|
30
31
|
function createGetCrawlStatusProperties() {
|
|
31
32
|
return [
|
|
32
|
-
(0, common_1.createOperationNotice)(
|
|
33
|
+
(0, common_1.createOperationNotice)(exports.resourceName, exports.name, 'GET'),
|
|
33
34
|
createCrawlIdProperty(),
|
|
34
35
|
];
|
|
35
36
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Firecrawl/api/getCrawlStatus/index.ts"],"names":[],"mappings":";;;AACA,sCAA8F;AAGjF,QAAA,IAAI,GAAG,gBAAgB,CAAC;AACxB,QAAA,WAAW,GAAG,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Firecrawl/api/getCrawlStatus/index.ts"],"names":[],"mappings":";;;AACA,sCAA8F;AAGjF,QAAA,IAAI,GAAG,gBAAgB,CAAC;AACxB,QAAA,WAAW,GAAG,kBAAkB,CAAC;AACjC,QAAA,aAAa,GAAG,gBAAgB,CAAC;AACjC,QAAA,YAAY,GAAG,UAAU,CAAC;AAMvC,SAAS,qBAAqB;IAC7B,OAAO;QACN,WAAW,EAAE,UAAU;QACvB,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,uCAAuC;QACpD,WAAW,EAAE,sCAAsC;QACnD,OAAO,EAAE;YACR,OAAO,EAAE;gBACR,GAAG,EAAE,oBAAoB;aACzB;SACD;QACD,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,oBAAY,CAAC;gBACxB,SAAS,EAAE,CAAC,qBAAa,CAAC;aAC1B;SACD;KACD,CAAC;AACH,CAAC;AAKD,SAAS,8BAA8B;IACtC,OAAO;QAEN,IAAA,8BAAqB,EAAC,oBAAY,EAAE,YAAI,EAAE,KAAK,CAAC;QAGhD,qBAAqB,EAAE;KACvB,CAAC;AACH,CAAC;AAGD,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,GAAG,IAAA,2BAAkB,EACjD,YAAI,EACJ,mBAAW,EACX,8BAA8B,EAAE,CAChC,CAAC;AAmBO,0BAAO;AAAE,gCAAU;AAhB5B,OAAO,CAAC,OAAO,GAAG;IACjB,OAAO,EAAE;QACR,MAAM,EAAE,KAAK;KACb;IACD,MAAM,EAAE;QACP,WAAW,EAAE;YACZ;gBACC,IAAI,EAAE,aAAa;gBACnB,UAAU,EAAE;oBACX,IAAI,EAAE,qBAAqB;iBAC3B;aACD;SACD;KACD;CACD,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { INodeProperties } from 'n8n-workflow';
|
|
2
2
|
export declare const operationName = "getExtractStatus";
|
|
3
|
+
export declare const resourceName = "Extract";
|
|
3
4
|
declare const options: import("n8n-workflow").INodePropertyOptions, properties: INodeProperties[];
|
|
4
5
|
export { options, properties };
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.properties = exports.options = exports.operationName = void 0;
|
|
3
|
+
exports.properties = exports.options = exports.resourceName = exports.operationName = void 0;
|
|
4
4
|
const common_1 = require("../common");
|
|
5
5
|
const name = 'getExtractStatus';
|
|
6
6
|
const displayName = 'Get Extract Status';
|
|
7
7
|
exports.operationName = 'getExtractStatus';
|
|
8
|
+
exports.resourceName = 'Extract';
|
|
8
9
|
function createExtractIdProperty() {
|
|
9
10
|
return {
|
|
10
11
|
displayName: 'Extract ID',
|
|
@@ -21,14 +22,14 @@ function createExtractIdProperty() {
|
|
|
21
22
|
},
|
|
22
23
|
displayOptions: {
|
|
23
24
|
show: {
|
|
24
|
-
resource: [
|
|
25
|
+
resource: [exports.resourceName],
|
|
25
26
|
operation: [exports.operationName],
|
|
26
27
|
},
|
|
27
28
|
},
|
|
28
29
|
};
|
|
29
30
|
}
|
|
30
31
|
function createGetExtractStatusProperties() {
|
|
31
|
-
return [(0, common_1.createOperationNotice)(
|
|
32
|
+
return [(0, common_1.createOperationNotice)(exports.resourceName, name, 'GET'), createExtractIdProperty()];
|
|
32
33
|
}
|
|
33
34
|
const { options, properties } = (0, common_1.buildApiProperties)(name, displayName, createGetExtractStatusProperties());
|
|
34
35
|
exports.options = options;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Firecrawl/api/getExtractStatus/index.ts"],"names":[],"mappings":";;;AACA,sCAAsE;AAEtE,MAAM,IAAI,GAAG,kBAAkB,CAAC;AAChC,MAAM,WAAW,GAAG,oBAAoB,CAAC;AAC5B,QAAA,aAAa,GAAG,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Firecrawl/api/getExtractStatus/index.ts"],"names":[],"mappings":";;;AACA,sCAAsE;AAEtE,MAAM,IAAI,GAAG,kBAAkB,CAAC;AAChC,MAAM,WAAW,GAAG,oBAAoB,CAAC;AAC5B,QAAA,aAAa,GAAG,kBAAkB,CAAC;AACnC,QAAA,YAAY,GAAG,SAAS,CAAC;AAMtC,SAAS,uBAAuB;IAC/B,OAAO;QACN,WAAW,EAAE,YAAY;QACzB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,yCAAyC;QACtD,WAAW,EAAE,sCAAsC;QACnD,OAAO,EAAE;YACR,OAAO,EAAE;gBACR,GAAG,EAAE,sBAAsB;aAC3B;SACD;QACD,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,oBAAY,CAAC;gBACxB,SAAS,EAAE,CAAC,qBAAa,CAAC;aAC1B;SACD;KACD,CAAC;AACH,CAAC;AAMD,SAAS,gCAAgC;IACxC,OAAO,CAAC,IAAA,8BAAqB,EAAC,oBAAY,EAAE,IAAI,EAAE,KAAK,CAAC,EAAE,uBAAuB,EAAE,CAAC,CAAC;AACtF,CAAC;AAGD,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,GAAG,IAAA,2BAAkB,EACjD,IAAI,EACJ,WAAW,EACX,gCAAgC,EAAE,CAClC,CAAC;AAmBO,0BAAO;AAAE,gCAAU;AAhB5B,OAAO,CAAC,OAAO,GAAG;IACjB,OAAO,EAAE;QACR,MAAM,EAAE,KAAK;KACb;IACD,MAAM,EAAE;QACP,WAAW,EAAE;YACZ;gBACC,IAAI,EAAE,aAAa;gBACnB,UAAU,EAAE;oBACX,IAAI,EAAE,qBAAqB;iBAC3B;aACD;SACD;KACD;CACD,CAAC"}
|
|
@@ -1,29 +1,34 @@
|
|
|
1
1
|
import { INodeProperties } from 'n8n-workflow';
|
|
2
2
|
export declare const apiProperties: INodeProperties[];
|
|
3
3
|
export declare const apiMethods: {
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
Scraping: {
|
|
5
|
+
scrape: {
|
|
6
6
|
execute(this: any): any;
|
|
7
7
|
};
|
|
8
|
-
|
|
8
|
+
batchScrape: {
|
|
9
9
|
execute(this: any): any;
|
|
10
10
|
};
|
|
11
|
-
|
|
11
|
+
batchScrapeStatus: {
|
|
12
12
|
execute(this: any): any;
|
|
13
13
|
};
|
|
14
|
-
|
|
14
|
+
batchScrapeErrors: {
|
|
15
15
|
execute(this: any): any;
|
|
16
16
|
};
|
|
17
|
-
|
|
17
|
+
cancelBatchScrape: {
|
|
18
18
|
execute(this: any): any;
|
|
19
19
|
};
|
|
20
|
-
|
|
20
|
+
};
|
|
21
|
+
Crawling: {
|
|
22
|
+
crawl: {
|
|
21
23
|
execute(this: any): any;
|
|
22
24
|
};
|
|
23
|
-
|
|
25
|
+
getCrawlStatus: {
|
|
24
26
|
execute(this: any): any;
|
|
25
27
|
};
|
|
26
|
-
|
|
28
|
+
cancelCrawl: {
|
|
29
|
+
execute(this: any): any;
|
|
30
|
+
};
|
|
31
|
+
getCrawlErrors: {
|
|
27
32
|
execute(this: any): any;
|
|
28
33
|
};
|
|
29
34
|
crawlActive: {
|
|
@@ -32,28 +37,34 @@ export declare const apiMethods: {
|
|
|
32
37
|
crawlParamsPreview: {
|
|
33
38
|
execute(this: any): any;
|
|
34
39
|
};
|
|
35
|
-
|
|
40
|
+
};
|
|
41
|
+
Agent: {
|
|
42
|
+
agent: {
|
|
36
43
|
execute(this: any): any;
|
|
37
44
|
};
|
|
38
|
-
|
|
45
|
+
agentAsync: {
|
|
39
46
|
execute(this: any): any;
|
|
40
47
|
};
|
|
41
|
-
|
|
48
|
+
getAgentStatus: {
|
|
42
49
|
execute(this: any): any;
|
|
43
50
|
};
|
|
44
|
-
|
|
51
|
+
};
|
|
52
|
+
MapSearch: {
|
|
53
|
+
map: {
|
|
45
54
|
execute(this: any): any;
|
|
46
55
|
};
|
|
47
|
-
|
|
56
|
+
search: {
|
|
48
57
|
execute(this: any): any;
|
|
49
58
|
};
|
|
50
|
-
|
|
59
|
+
};
|
|
60
|
+
Account: {
|
|
61
|
+
teamCreditUsage: {
|
|
51
62
|
execute(this: any): any;
|
|
52
63
|
};
|
|
53
|
-
|
|
64
|
+
creditUsageHistorical: {
|
|
54
65
|
execute(this: any): any;
|
|
55
66
|
};
|
|
56
|
-
|
|
67
|
+
teamTokenUsage: {
|
|
57
68
|
execute(this: any): any;
|
|
58
69
|
};
|
|
59
70
|
teamTokenUsageHistorical: {
|
|
@@ -63,4 +74,12 @@ export declare const apiMethods: {
|
|
|
63
74
|
execute(this: any): any;
|
|
64
75
|
};
|
|
65
76
|
};
|
|
77
|
+
Extract: {
|
|
78
|
+
extract: {
|
|
79
|
+
execute(this: any): any;
|
|
80
|
+
};
|
|
81
|
+
getExtractStatus: {
|
|
82
|
+
execute(this: any): any;
|
|
83
|
+
};
|
|
84
|
+
};
|
|
66
85
|
};
|
|
@@ -15,108 +15,207 @@ const getCrawlErrors_1 = require("./getCrawlErrors");
|
|
|
15
15
|
const getCrawlStatus_1 = require("./getCrawlStatus");
|
|
16
16
|
const extract_1 = require("./extract");
|
|
17
17
|
const getExtractStatus_1 = require("./getExtractStatus");
|
|
18
|
+
const agent_1 = require("./agent");
|
|
19
|
+
const agentAsync_1 = require("./agentAsync");
|
|
20
|
+
const getAgentStatus_1 = require("./getAgentStatus");
|
|
18
21
|
const teamTokenUsage_1 = require("./teamTokenUsage");
|
|
19
22
|
const creditUsageHistorical_1 = require("./creditUsageHistorical");
|
|
20
23
|
const cancelBatchScrape_1 = require("./cancelBatchScrape");
|
|
21
24
|
const teamCreditUsage_1 = require("./teamCreditUsage");
|
|
22
25
|
const teamTokenUsageHistorical_1 = require("./teamTokenUsageHistorical");
|
|
23
26
|
const teamQueueStatus_1 = require("./teamQueueStatus");
|
|
24
|
-
const
|
|
25
|
-
search_1.options,
|
|
26
|
-
map_1.options,
|
|
27
|
+
const scrapingOperationOptions = [
|
|
27
28
|
scrape_1.options,
|
|
28
|
-
crawl_1.options,
|
|
29
29
|
batchScrape_1.options,
|
|
30
30
|
batchScrapeStatus_1.options,
|
|
31
31
|
batchScrapeErrors_1.options,
|
|
32
|
-
crawlActive_1.options,
|
|
33
|
-
crawlParamsPreview_1.options,
|
|
34
|
-
cancelCrawl_1.options,
|
|
35
|
-
getCrawlErrors_1.options,
|
|
36
32
|
cancelBatchScrape_1.options,
|
|
33
|
+
];
|
|
34
|
+
const crawlingOperationOptions = [
|
|
35
|
+
crawl_1.options,
|
|
37
36
|
getCrawlStatus_1.options,
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
37
|
+
cancelCrawl_1.options,
|
|
38
|
+
getCrawlErrors_1.options,
|
|
39
|
+
crawlActive_1.options,
|
|
40
|
+
crawlParamsPreview_1.options,
|
|
41
|
+
];
|
|
42
|
+
const agentOperationOptions = [
|
|
43
|
+
agent_1.options,
|
|
44
|
+
agentAsync_1.options,
|
|
45
|
+
getAgentStatus_1.options,
|
|
46
|
+
];
|
|
47
|
+
const mapSearchOperationOptions = [
|
|
48
|
+
map_1.options,
|
|
49
|
+
search_1.options,
|
|
50
|
+
];
|
|
51
|
+
const accountOperationOptions = [
|
|
41
52
|
teamCreditUsage_1.options,
|
|
53
|
+
creditUsageHistorical_1.options,
|
|
54
|
+
teamTokenUsage_1.options,
|
|
42
55
|
teamTokenUsageHistorical_1.options,
|
|
43
56
|
teamQueueStatus_1.options,
|
|
44
|
-
creditUsageHistorical_1.options,
|
|
45
57
|
];
|
|
46
|
-
const
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
...scrape_1.properties,
|
|
50
|
-
...crawl_1.properties,
|
|
51
|
-
...batchScrape_1.properties,
|
|
52
|
-
...batchScrapeStatus_1.properties,
|
|
53
|
-
...batchScrapeErrors_1.properties,
|
|
54
|
-
...crawlActive_1.properties,
|
|
55
|
-
...crawlParamsPreview_1.properties,
|
|
56
|
-
...cancelCrawl_1.properties,
|
|
57
|
-
...getCrawlErrors_1.properties,
|
|
58
|
-
...cancelBatchScrape_1.properties,
|
|
59
|
-
...getCrawlStatus_1.properties,
|
|
60
|
-
...extract_1.properties,
|
|
61
|
-
...getExtractStatus_1.properties,
|
|
62
|
-
...teamTokenUsage_1.properties,
|
|
63
|
-
...teamCreditUsage_1.properties,
|
|
64
|
-
...teamTokenUsageHistorical_1.properties,
|
|
65
|
-
...teamQueueStatus_1.properties,
|
|
66
|
-
...creditUsageHistorical_1.properties,
|
|
58
|
+
const extractOperationOptions = [
|
|
59
|
+
extract_1.options,
|
|
60
|
+
getExtractStatus_1.options,
|
|
67
61
|
];
|
|
68
|
-
const
|
|
62
|
+
const scrapingOperationSelector = {
|
|
69
63
|
displayName: 'Operation',
|
|
70
64
|
name: 'operation',
|
|
71
65
|
type: 'options',
|
|
72
66
|
noDataExpression: true,
|
|
73
67
|
displayOptions: {
|
|
74
68
|
show: {
|
|
75
|
-
resource: ['
|
|
69
|
+
resource: ['Scraping'],
|
|
70
|
+
},
|
|
71
|
+
},
|
|
72
|
+
default: 'scrape',
|
|
73
|
+
options: scrapingOperationOptions,
|
|
74
|
+
};
|
|
75
|
+
const crawlingOperationSelector = {
|
|
76
|
+
displayName: 'Operation',
|
|
77
|
+
name: 'operation',
|
|
78
|
+
type: 'options',
|
|
79
|
+
noDataExpression: true,
|
|
80
|
+
displayOptions: {
|
|
81
|
+
show: {
|
|
82
|
+
resource: ['Crawling'],
|
|
83
|
+
},
|
|
84
|
+
},
|
|
85
|
+
default: 'crawl',
|
|
86
|
+
options: crawlingOperationOptions,
|
|
87
|
+
};
|
|
88
|
+
const agentOperationSelector = {
|
|
89
|
+
displayName: 'Operation',
|
|
90
|
+
name: 'operation',
|
|
91
|
+
type: 'options',
|
|
92
|
+
noDataExpression: true,
|
|
93
|
+
displayOptions: {
|
|
94
|
+
show: {
|
|
95
|
+
resource: ['Agent'],
|
|
96
|
+
},
|
|
97
|
+
},
|
|
98
|
+
default: 'agent',
|
|
99
|
+
options: agentOperationOptions,
|
|
100
|
+
};
|
|
101
|
+
const mapSearchOperationSelector = {
|
|
102
|
+
displayName: 'Operation',
|
|
103
|
+
name: 'operation',
|
|
104
|
+
type: 'options',
|
|
105
|
+
noDataExpression: true,
|
|
106
|
+
displayOptions: {
|
|
107
|
+
show: {
|
|
108
|
+
resource: ['MapSearch'],
|
|
76
109
|
},
|
|
77
110
|
},
|
|
78
111
|
default: 'map',
|
|
79
|
-
options:
|
|
112
|
+
options: mapSearchOperationOptions,
|
|
113
|
+
};
|
|
114
|
+
const accountOperationSelector = {
|
|
115
|
+
displayName: 'Operation',
|
|
116
|
+
name: 'operation',
|
|
117
|
+
type: 'options',
|
|
118
|
+
noDataExpression: true,
|
|
119
|
+
displayOptions: {
|
|
120
|
+
show: {
|
|
121
|
+
resource: ['Account'],
|
|
122
|
+
},
|
|
123
|
+
},
|
|
124
|
+
default: 'teamCreditUsage',
|
|
125
|
+
options: accountOperationOptions,
|
|
80
126
|
};
|
|
81
|
-
|
|
127
|
+
const extractOperationSelector = {
|
|
128
|
+
displayName: 'Operation',
|
|
129
|
+
name: 'operation',
|
|
130
|
+
type: 'options',
|
|
131
|
+
noDataExpression: true,
|
|
132
|
+
displayOptions: {
|
|
133
|
+
show: {
|
|
134
|
+
resource: ['Extract'],
|
|
135
|
+
},
|
|
136
|
+
},
|
|
137
|
+
default: 'extract',
|
|
138
|
+
options: extractOperationOptions,
|
|
139
|
+
};
|
|
140
|
+
const rawProperties = [
|
|
141
|
+
...scrape_1.properties,
|
|
142
|
+
...batchScrape_1.properties,
|
|
143
|
+
...batchScrapeStatus_1.properties,
|
|
144
|
+
...batchScrapeErrors_1.properties,
|
|
145
|
+
...cancelBatchScrape_1.properties,
|
|
146
|
+
...crawl_1.properties,
|
|
147
|
+
...getCrawlStatus_1.properties,
|
|
148
|
+
...cancelCrawl_1.properties,
|
|
149
|
+
...getCrawlErrors_1.properties,
|
|
150
|
+
...crawlActive_1.properties,
|
|
151
|
+
...crawlParamsPreview_1.properties,
|
|
152
|
+
...agent_1.properties,
|
|
153
|
+
...agentAsync_1.properties,
|
|
154
|
+
...getAgentStatus_1.properties,
|
|
155
|
+
...map_1.properties,
|
|
156
|
+
...search_1.properties,
|
|
157
|
+
...teamCreditUsage_1.properties,
|
|
158
|
+
...creditUsageHistorical_1.properties,
|
|
159
|
+
...teamTokenUsage_1.properties,
|
|
160
|
+
...teamTokenUsageHistorical_1.properties,
|
|
161
|
+
...teamQueueStatus_1.properties,
|
|
162
|
+
...extract_1.properties,
|
|
163
|
+
...getExtractStatus_1.properties,
|
|
164
|
+
];
|
|
165
|
+
exports.apiProperties = [
|
|
166
|
+
scrapingOperationSelector,
|
|
167
|
+
crawlingOperationSelector,
|
|
168
|
+
agentOperationSelector,
|
|
169
|
+
mapSearchOperationSelector,
|
|
170
|
+
accountOperationSelector,
|
|
171
|
+
extractOperationSelector,
|
|
172
|
+
...rawProperties,
|
|
173
|
+
];
|
|
82
174
|
exports.apiMethods = {
|
|
83
|
-
|
|
84
|
-
|
|
175
|
+
Scraping: {
|
|
176
|
+
scrape: {
|
|
85
177
|
execute() {
|
|
86
178
|
return this.helpers.httpRequest;
|
|
87
179
|
},
|
|
88
180
|
},
|
|
89
|
-
|
|
181
|
+
batchScrape: {
|
|
90
182
|
execute() {
|
|
91
183
|
return this.helpers.httpRequest;
|
|
92
184
|
},
|
|
93
185
|
},
|
|
94
|
-
|
|
186
|
+
batchScrapeStatus: {
|
|
95
187
|
execute() {
|
|
96
188
|
return this.helpers.httpRequest;
|
|
97
189
|
},
|
|
98
190
|
},
|
|
99
|
-
|
|
191
|
+
batchScrapeErrors: {
|
|
100
192
|
execute() {
|
|
101
193
|
return this.helpers.httpRequest;
|
|
102
194
|
},
|
|
103
195
|
},
|
|
104
|
-
|
|
196
|
+
cancelBatchScrape: {
|
|
105
197
|
execute() {
|
|
106
198
|
return this.helpers.httpRequest;
|
|
107
199
|
},
|
|
108
200
|
},
|
|
109
|
-
|
|
201
|
+
},
|
|
202
|
+
Crawling: {
|
|
203
|
+
crawl: {
|
|
110
204
|
execute() {
|
|
111
205
|
return this.helpers.httpRequest;
|
|
112
206
|
},
|
|
113
207
|
},
|
|
114
|
-
|
|
208
|
+
getCrawlStatus: {
|
|
115
209
|
execute() {
|
|
116
210
|
return this.helpers.httpRequest;
|
|
117
211
|
},
|
|
118
212
|
},
|
|
119
|
-
|
|
213
|
+
cancelCrawl: {
|
|
214
|
+
execute() {
|
|
215
|
+
return this.helpers.httpRequest;
|
|
216
|
+
},
|
|
217
|
+
},
|
|
218
|
+
getCrawlErrors: {
|
|
120
219
|
execute() {
|
|
121
220
|
return this.helpers.httpRequest;
|
|
122
221
|
},
|
|
@@ -131,42 +230,48 @@ exports.apiMethods = {
|
|
|
131
230
|
return this.helpers.httpRequest;
|
|
132
231
|
},
|
|
133
232
|
},
|
|
134
|
-
|
|
233
|
+
},
|
|
234
|
+
Agent: {
|
|
235
|
+
agent: {
|
|
135
236
|
execute() {
|
|
136
237
|
return this.helpers.httpRequest;
|
|
137
238
|
},
|
|
138
239
|
},
|
|
139
|
-
|
|
240
|
+
agentAsync: {
|
|
140
241
|
execute() {
|
|
141
242
|
return this.helpers.httpRequest;
|
|
142
243
|
},
|
|
143
244
|
},
|
|
144
|
-
|
|
245
|
+
getAgentStatus: {
|
|
145
246
|
execute() {
|
|
146
247
|
return this.helpers.httpRequest;
|
|
147
248
|
},
|
|
148
249
|
},
|
|
149
|
-
|
|
250
|
+
},
|
|
251
|
+
MapSearch: {
|
|
252
|
+
map: {
|
|
150
253
|
execute() {
|
|
151
254
|
return this.helpers.httpRequest;
|
|
152
255
|
},
|
|
153
256
|
},
|
|
154
|
-
|
|
257
|
+
search: {
|
|
155
258
|
execute() {
|
|
156
259
|
return this.helpers.httpRequest;
|
|
157
260
|
},
|
|
158
261
|
},
|
|
159
|
-
|
|
262
|
+
},
|
|
263
|
+
Account: {
|
|
264
|
+
teamCreditUsage: {
|
|
160
265
|
execute() {
|
|
161
266
|
return this.helpers.httpRequest;
|
|
162
267
|
},
|
|
163
268
|
},
|
|
164
|
-
|
|
269
|
+
creditUsageHistorical: {
|
|
165
270
|
execute() {
|
|
166
271
|
return this.helpers.httpRequest;
|
|
167
272
|
},
|
|
168
273
|
},
|
|
169
|
-
|
|
274
|
+
teamTokenUsage: {
|
|
170
275
|
execute() {
|
|
171
276
|
return this.helpers.httpRequest;
|
|
172
277
|
},
|
|
@@ -182,5 +287,17 @@ exports.apiMethods = {
|
|
|
182
287
|
},
|
|
183
288
|
},
|
|
184
289
|
},
|
|
290
|
+
Extract: {
|
|
291
|
+
extract: {
|
|
292
|
+
execute() {
|
|
293
|
+
return this.helpers.httpRequest;
|
|
294
|
+
},
|
|
295
|
+
},
|
|
296
|
+
getExtractStatus: {
|
|
297
|
+
execute() {
|
|
298
|
+
return this.helpers.httpRequest;
|
|
299
|
+
},
|
|
300
|
+
},
|
|
301
|
+
},
|
|
185
302
|
};
|
|
186
303
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../nodes/Firecrawl/api/index.ts"],"names":[],"mappings":";;;AAGA,qCAAoF;AACpF,+BAA2E;AAC3E,qCAAoF;AACpF,mCAAiF;AACjF,+CAAmG;AACnG,2DAG6B;AAC7B,2DAG6B;AAC7B,+CAAmG;AACnG,6DAG8B;AAC9B,+CAAmG;AACnG,qDAG0B;AAC1B,qDAG0B;AAC1B,uCAAuF;AACvF,yDAG4B;AAC5B,qDAG0B;AAC1B,mEAGiC;AACjC,2DAG6B;AAC7B,uDAG2B;AAC3B,yEAGoC;AACpC,uDAG2B;AAK3B,MAAM,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../nodes/Firecrawl/api/index.ts"],"names":[],"mappings":";;;AAGA,qCAAoF;AACpF,+BAA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,OAAO;gBACN,OAAO,IAAI,CAAC,OAAO,CAAC,WAAkB,CAAC;YACxC,CAAC;SACD;QACD,cAAc,EAAE;YACf,OAAO;gBACN,OAAO,IAAI,CAAC,OAAO,CAAC,WAAkB,CAAC;YACxC,CAAC;SACD;QACD,wBAAwB,EAAE;YACzB,OAAO;gBACN,OAAO,IAAI,CAAC,OAAO,CAAC,WAAkB,CAAC;YACxC,CAAC;SACD;QACD,eAAe,EAAE;YAChB,OAAO;gBACN,OAAO,IAAI,CAAC,OAAO,CAAC,WAAkB,CAAC;YACxC,CAAC;SACD;KACD;IACD,OAAO,EAAE;QACR,OAAO,EAAE;YACR,OAAO;gBACN,OAAO,IAAI,CAAC,OAAO,CAAC,WAAkB,CAAC;YACxC,CAAC;SACD;QACD,gBAAgB,EAAE;YACjB,OAAO;gBACN,OAAO,IAAI,CAAC,OAAO,CAAC,WAAkB,CAAC;YACxC,CAAC;SACD;KACD;CACD,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { INodeProperties } from 'n8n-workflow';
|
|
2
2
|
export declare const name = "map";
|
|
3
|
-
export declare const displayName = "Map a website
|
|
3
|
+
export declare const displayName = "Map a website to discover all URLs";
|
|
4
4
|
export declare const operationName = "map";
|
|
5
|
+
export declare const resourceName = "MapSearch";
|
|
5
6
|
declare const options: import("n8n-workflow").INodePropertyOptions, properties: INodeProperties[];
|
|
6
7
|
export { options, properties };
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.properties = exports.options = exports.operationName = exports.displayName = exports.name = void 0;
|
|
3
|
+
exports.properties = exports.options = exports.resourceName = exports.operationName = exports.displayName = exports.name = void 0;
|
|
4
4
|
const common_1 = require("../common");
|
|
5
5
|
exports.name = 'map';
|
|
6
|
-
exports.displayName = 'Map a website
|
|
6
|
+
exports.displayName = 'Map a website to discover all URLs';
|
|
7
7
|
exports.operationName = 'map';
|
|
8
|
+
exports.resourceName = 'MapSearch';
|
|
8
9
|
function createSitemapProperty() {
|
|
9
10
|
return {
|
|
10
11
|
displayName: 'Sitemap',
|
|
@@ -14,21 +15,21 @@ function createSitemapProperty() {
|
|
|
14
15
|
{
|
|
15
16
|
name: 'Include',
|
|
16
17
|
value: 'include',
|
|
17
|
-
description: '
|
|
18
|
+
description: 'Use sitemap plus link discovery (default, most comprehensive)',
|
|
18
19
|
},
|
|
19
20
|
{
|
|
20
21
|
name: 'Only',
|
|
21
22
|
value: 'only',
|
|
22
|
-
description: 'Only return
|
|
23
|
+
description: 'Only return URLs from sitemap.xml (fastest, but may miss pages)',
|
|
23
24
|
},
|
|
24
25
|
{
|
|
25
26
|
name: 'Skip',
|
|
26
27
|
value: 'skip',
|
|
27
|
-
description: 'Ignore
|
|
28
|
+
description: 'Ignore sitemap, discover pages through links only',
|
|
28
29
|
},
|
|
29
30
|
],
|
|
30
31
|
default: 'include',
|
|
31
|
-
description: '
|
|
32
|
+
description: 'Control how URLs are discovered. "Include" combines sitemap with link crawling for best coverage. "Only" is fastest but limited to sitemap. "Skip" relies purely on link following.',
|
|
32
33
|
routing: {
|
|
33
34
|
request: {
|
|
34
35
|
body: {
|
|
@@ -41,7 +42,7 @@ function createSitemapProperty() {
|
|
|
41
42
|
useCustomBody: [true],
|
|
42
43
|
},
|
|
43
44
|
show: {
|
|
44
|
-
resource: [
|
|
45
|
+
resource: [exports.resourceName],
|
|
45
46
|
operation: [exports.operationName],
|
|
46
47
|
},
|
|
47
48
|
},
|
|
@@ -53,7 +54,7 @@ function createIncludeSubdomainsProperty() {
|
|
|
53
54
|
name: 'includeSubdomains',
|
|
54
55
|
type: 'boolean',
|
|
55
56
|
default: false,
|
|
56
|
-
description: 'Whether to
|
|
57
|
+
description: 'Whether to discover URLs on subdomains like blog.example.com or docs.example.com. Enable to map the entire domain ecosystem, not just the main domain.',
|
|
57
58
|
routing: {
|
|
58
59
|
request: {
|
|
59
60
|
body: {
|
|
@@ -66,7 +67,7 @@ function createIncludeSubdomainsProperty() {
|
|
|
66
67
|
useCustomBody: [true],
|
|
67
68
|
},
|
|
68
69
|
show: {
|
|
69
|
-
resource: [
|
|
70
|
+
resource: [exports.resourceName],
|
|
70
71
|
operation: [exports.operationName],
|
|
71
72
|
},
|
|
72
73
|
},
|
|
@@ -95,7 +96,7 @@ function createLimitProperty() {
|
|
|
95
96
|
useCustomBody: [true],
|
|
96
97
|
},
|
|
97
98
|
show: {
|
|
98
|
-
resource: [
|
|
99
|
+
resource: [exports.resourceName],
|
|
99
100
|
operation: [exports.operationName],
|
|
100
101
|
},
|
|
101
102
|
},
|
|
@@ -107,7 +108,7 @@ function createTimeoutProperty() {
|
|
|
107
108
|
name: 'timeout',
|
|
108
109
|
type: 'number',
|
|
109
110
|
default: 10000,
|
|
110
|
-
description: '
|
|
111
|
+
description: 'Maximum time in milliseconds to wait for URL discovery. Increase for large sites or slow connections. Default 10000ms (10 seconds).',
|
|
111
112
|
routing: {
|
|
112
113
|
request: {
|
|
113
114
|
body: {
|
|
@@ -120,7 +121,7 @@ function createTimeoutProperty() {
|
|
|
120
121
|
useCustomBody: [true],
|
|
121
122
|
},
|
|
122
123
|
show: {
|
|
123
|
-
resource: [
|
|
124
|
+
resource: [exports.resourceName],
|
|
124
125
|
operation: [exports.operationName],
|
|
125
126
|
},
|
|
126
127
|
},
|
|
@@ -183,8 +184,8 @@ function createAdditionalFieldsProperty(operation) {
|
|
|
183
184
|
}
|
|
184
185
|
function createMapProperties() {
|
|
185
186
|
return [
|
|
186
|
-
(0, common_1.createOperationNotice)(
|
|
187
|
-
(0, common_1.createUrlProperty)(exports.name),
|
|
187
|
+
(0, common_1.createOperationNotice)(exports.resourceName, exports.name),
|
|
188
|
+
(0, common_1.createUrlProperty)(exports.name, undefined, exports.resourceName),
|
|
188
189
|
createSitemapProperty(),
|
|
189
190
|
createIncludeSubdomainsProperty(),
|
|
190
191
|
createLimitProperty(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Firecrawl/api/map/index.ts"],"names":[],"mappings":";;;AAMA,sCAAyF;AAG5E,QAAA,IAAI,GAAG,KAAK,CAAC;AACb,QAAA,WAAW,GAAG,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Firecrawl/api/map/index.ts"],"names":[],"mappings":";;;AAMA,sCAAyF;AAG5E,QAAA,IAAI,GAAG,KAAK,CAAC;AACb,QAAA,WAAW,GAAG,oCAAoC,CAAC;AACnD,QAAA,aAAa,GAAG,KAAK,CAAC;AACtB,QAAA,YAAY,GAAG,WAAW,CAAC;AAExC,SAAS,qBAAqB;IAC7B,OAAO;QACN,WAAW,EAAE,SAAS;QACtB,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,SAAS;QACf,OAAO,EAAE;YACR;gBACC,IAAI,EAAE,SAAS;gBACf,KAAK,EAAE,SAAS;gBAChB,WAAW,EAAE,+DAA+D;aAC5E;YACD;gBACC,IAAI,EAAE,MAAM;gBACZ,KAAK,EAAE,MAAM;gBACb,WAAW,EAAE,iEAAiE;aAC9E;YACD;gBACC,IAAI,EAAE,MAAM;gBACZ,KAAK,EAAE,MAAM;gBACb,WAAW,EAAE,mDAAmD;aAChE;SACD;QACD,OAAO,EAAE,SAAS;QAClB,WAAW,EACV,qLAAqL;QACtL,OAAO,EAAE;YACR,OAAO,EAAE;gBACR,IAAI,EAAE;oBACL,OAAO,EAAE,eAAe;iBACxB;aACD;SACD;QACD,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,aAAa,EAAE,CAAC,IAAI,CAAC;aACrB;YACD,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,oBAAY,CAAC;gBACxB,SAAS,EAAE,CAAC,qBAAa,CAAC;aAC1B;SACD;KACD,CAAC;AACH,CAAC;AAED,SAAS,+BAA+B;IACvC,OAAO;QACN,WAAW,EAAE,oBAAoB;QACjC,IAAI,EAAE,mBAAmB;QAC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