n8n-nodes-apivault-newegg 0.1.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.
- package/LICENSE +5 -0
- package/README.md +14 -0
- package/dist/credentials/ApifyApi.credentials.d.ts +9 -0
- package/dist/credentials/ApifyApi.credentials.js +28 -0
- package/dist/credentials/ApifyApi.credentials.js.map +1 -0
- package/dist/nodes/Newegg/Newegg.node.d.ts +5 -0
- package/dist/nodes/Newegg/Newegg.node.js +195 -0
- package/dist/nodes/Newegg/Newegg.node.js.map +1 -0
- package/dist/nodes/Newegg/newegg.svg +1 -0
- package/index.js +1 -0
- package/package.json +48 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Apivault
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction... THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND.
|
package/README.md
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# n8n-nodes-apivault-newegg
|
|
2
|
+
|
|
3
|
+
n8n community node for **Newegg Product Scraper**.
|
|
4
|
+
|
|
5
|
+
Scrape Newegg product pages in real-time — title, price, rating, reviews, brand, availability. Ideal for PC parts, electronics, tech arbitrage.
|
|
6
|
+
|
|
7
|
+
## Install
|
|
8
|
+
n8n: Settings → Community Nodes → Install → `n8n-nodes-apivault-newegg`
|
|
9
|
+
|
|
10
|
+
## Credential
|
|
11
|
+
Add an **Apify API** credential with your Apify token (Apify Console → Settings → Integrations). Free account includes monthly credits.
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
Backed by the Apify Actor [`apivault_labs/newegg-product-scraper`](https://apify.com/apivault_labs/newegg-product-scraper).
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, INodeProperties } from 'n8n-workflow';
|
|
2
|
+
export declare class ApifyApi implements ICredentialType {
|
|
3
|
+
name: string;
|
|
4
|
+
displayName: string;
|
|
5
|
+
documentationUrl: string;
|
|
6
|
+
properties: INodeProperties[];
|
|
7
|
+
authenticate: IAuthenticateGeneric;
|
|
8
|
+
test: ICredentialTestRequest;
|
|
9
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ApifyApi = void 0;
|
|
4
|
+
class ApifyApi {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.name = 'apifyApi';
|
|
7
|
+
this.displayName = 'Apify API';
|
|
8
|
+
this.documentationUrl = 'https://docs.apify.com/platform/integrations/api';
|
|
9
|
+
this.properties = [
|
|
10
|
+
{
|
|
11
|
+
displayName: 'API Token',
|
|
12
|
+
name: 'apiToken',
|
|
13
|
+
type: 'string',
|
|
14
|
+
typeOptions: { password: true },
|
|
15
|
+
default: '',
|
|
16
|
+
required: true,
|
|
17
|
+
description: 'Your personal Apify API token (Apify Console -> Settings -> Integrations).',
|
|
18
|
+
},
|
|
19
|
+
];
|
|
20
|
+
this.authenticate = {
|
|
21
|
+
type: 'generic',
|
|
22
|
+
properties: { headers: { Authorization: '=Bearer {{$credentials.apiToken}}' } },
|
|
23
|
+
};
|
|
24
|
+
this.test = { request: { baseURL: 'https://api.apify.com/v2', url: '/users/me' } };
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
exports.ApifyApi = ApifyApi;
|
|
28
|
+
//# sourceMappingURL=ApifyApi.credentials.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ApifyApi.credentials.js","sourceRoot":"","sources":["../../credentials/ApifyApi.credentials.ts"],"names":[],"mappings":";;;AAOA;IAAA;QACC,SAAI,GAAG,UAAU,CAAC;QAClB,gBAAW,GAAG,WAAW,CAAC;QAC1B,qBAAgB,GAAG,kDAAkD,CAAC;QACtE,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,WAAW;gBACxB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE;gBAC/B,OAAO,EAAE,EAAE;gBACX,QAAQ,EAAE,IAAI;gBACd,WAAW,EAAE,4EAA4E;aACzF;SACD,CAAC;QACF,iBAAY,GAAyB;YACpC,IAAI,EAAE,SAAS;YACf,UAAU,EAAE,EAAE,OAAO,EAAE,EAAE,aAAa,EAAE,mCAAmC,EAAE,EAAE;SAC/E,CAAC;QACF,SAAI,GAA2B,EAAE,OAAO,EAAE,EAAE,OAAO,EAAE,0BAA0B,EAAE,GAAG,EAAE,WAAW,EAAE,EAAE,CAAC;IACvG,CAAC;CAAA"}
|
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Newegg = void 0;
|
|
4
|
+
const n8n_workflow_1 = require("n8n-workflow");
|
|
5
|
+
const ACTOR_ID = 'apivault_labs~newegg-product-scraper';
|
|
6
|
+
class Newegg {
|
|
7
|
+
constructor() {
|
|
8
|
+
this.description = {
|
|
9
|
+
displayName: 'Newegg Product Scraper',
|
|
10
|
+
name: 'newegg',
|
|
11
|
+
icon: 'file:newegg.svg',
|
|
12
|
+
group: ['transform'],
|
|
13
|
+
version: 1,
|
|
14
|
+
description: 'Scrape Newegg product pages in real-time — title, price, rating, reviews, brand, availability. Ideal for PC parts, electronics, tech arbitrage.',
|
|
15
|
+
defaults: { name: 'Newegg Product Scraper' },
|
|
16
|
+
inputs: [n8n_workflow_1.NodeConnectionTypes.Main],
|
|
17
|
+
outputs: [n8n_workflow_1.NodeConnectionTypes.Main],
|
|
18
|
+
usableAsTool: true,
|
|
19
|
+
credentials: [{ name: 'apifyApi', required: true }],
|
|
20
|
+
properties: [
|
|
21
|
+
{
|
|
22
|
+
"displayName": "Newegg Product URLs or Item IDs",
|
|
23
|
+
"name": "productUrls",
|
|
24
|
+
"description": "Full Newegg product URLs (https://www.newegg.com/p/N82E16820232869) or bare Item IDs (N82E16820232869). Both formats are accepted. (comma or new-line separated)",
|
|
25
|
+
"type": "string",
|
|
26
|
+
"default": "",
|
|
27
|
+
"required": true
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"displayName": "Product Title",
|
|
31
|
+
"name": "extractTitle",
|
|
32
|
+
"description": "Extract product name / title",
|
|
33
|
+
"type": "boolean",
|
|
34
|
+
"default": true
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"displayName": "Price",
|
|
38
|
+
"name": "extractPrice",
|
|
39
|
+
"description": "Extract current price",
|
|
40
|
+
"type": "boolean",
|
|
41
|
+
"default": true
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"displayName": "Original Price",
|
|
45
|
+
"name": "extractOriginalPrice",
|
|
46
|
+
"description": "Extract original price before discount",
|
|
47
|
+
"type": "boolean",
|
|
48
|
+
"default": true
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"displayName": "Rating",
|
|
52
|
+
"name": "extractRating",
|
|
53
|
+
"description": "Extract 'eggs' rating (Newegg's star rating 1-5)",
|
|
54
|
+
"type": "boolean",
|
|
55
|
+
"default": true
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"displayName": "Reviews Count",
|
|
59
|
+
"name": "extractReviewsCount",
|
|
60
|
+
"description": "Extract number of reviews",
|
|
61
|
+
"type": "boolean",
|
|
62
|
+
"default": true
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"displayName": "Brand",
|
|
66
|
+
"name": "extractBrand",
|
|
67
|
+
"description": "Extract brand name",
|
|
68
|
+
"type": "boolean",
|
|
69
|
+
"default": true
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"displayName": "Model Number",
|
|
73
|
+
"name": "extractModel",
|
|
74
|
+
"description": "Extract manufacturer model number (Newegg-specific)",
|
|
75
|
+
"type": "boolean",
|
|
76
|
+
"default": true
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"displayName": "Category",
|
|
80
|
+
"name": "extractCategory",
|
|
81
|
+
"description": "Extract category / breadcrumb",
|
|
82
|
+
"type": "boolean",
|
|
83
|
+
"default": true
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"displayName": "Availability",
|
|
87
|
+
"name": "extractAvailability",
|
|
88
|
+
"description": "In Stock / Out of Stock / Sold Out",
|
|
89
|
+
"type": "boolean",
|
|
90
|
+
"default": true
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"displayName": "Seller",
|
|
94
|
+
"name": "extractSeller",
|
|
95
|
+
"description": "Seller / merchant name (Newegg or third-party marketplace)",
|
|
96
|
+
"type": "boolean",
|
|
97
|
+
"default": true
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"displayName": "Shipping Info",
|
|
101
|
+
"name": "extractShipping",
|
|
102
|
+
"description": "Shipping cost / free-shipping flag",
|
|
103
|
+
"type": "boolean",
|
|
104
|
+
"default": true
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"displayName": "Description",
|
|
108
|
+
"name": "extractDescription",
|
|
109
|
+
"description": "Extract product description",
|
|
110
|
+
"type": "boolean",
|
|
111
|
+
"default": true
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"displayName": "Main Image",
|
|
115
|
+
"name": "extractImage",
|
|
116
|
+
"description": "Extract main product image URL",
|
|
117
|
+
"type": "boolean",
|
|
118
|
+
"default": true
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"displayName": "Max Concurrency",
|
|
122
|
+
"name": "maxConcurrency",
|
|
123
|
+
"description": "Parallel product scrapes (recommended: 2-3)",
|
|
124
|
+
"type": "number",
|
|
125
|
+
"default": 3,
|
|
126
|
+
"typeOptions": {
|
|
127
|
+
"minValue": 1,
|
|
128
|
+
"maxValue": 8
|
|
129
|
+
}
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"displayName": "Timeout per product (seconds)",
|
|
133
|
+
"name": "timeout",
|
|
134
|
+
"description": "Max wait per Newegg product page",
|
|
135
|
+
"type": "number",
|
|
136
|
+
"default": 180,
|
|
137
|
+
"typeOptions": {
|
|
138
|
+
"minValue": 60,
|
|
139
|
+
"maxValue": 300
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
],
|
|
143
|
+
};
|
|
144
|
+
}
|
|
145
|
+
async execute() {
|
|
146
|
+
const items = this.getInputData();
|
|
147
|
+
const returnData = [];
|
|
148
|
+
for (let i = 0; i < items.length; i++) {
|
|
149
|
+
try {
|
|
150
|
+
const body = {};
|
|
151
|
+
{
|
|
152
|
+
const _v = this.getNodeParameter("productUrls", i, '');
|
|
153
|
+
const _a = _v.split(/[,\n]/).map(s => s.trim()).filter(s => s.length > 0);
|
|
154
|
+
if (_a.length)
|
|
155
|
+
body["productUrls"] = _a;
|
|
156
|
+
}
|
|
157
|
+
body["extractTitle"] = this.getNodeParameter("extractTitle", i);
|
|
158
|
+
body["extractPrice"] = this.getNodeParameter("extractPrice", i);
|
|
159
|
+
body["extractOriginalPrice"] = this.getNodeParameter("extractOriginalPrice", i);
|
|
160
|
+
body["extractRating"] = this.getNodeParameter("extractRating", i);
|
|
161
|
+
body["extractReviewsCount"] = this.getNodeParameter("extractReviewsCount", i);
|
|
162
|
+
body["extractBrand"] = this.getNodeParameter("extractBrand", i);
|
|
163
|
+
body["extractModel"] = this.getNodeParameter("extractModel", i);
|
|
164
|
+
body["extractCategory"] = this.getNodeParameter("extractCategory", i);
|
|
165
|
+
body["extractAvailability"] = this.getNodeParameter("extractAvailability", i);
|
|
166
|
+
body["extractSeller"] = this.getNodeParameter("extractSeller", i);
|
|
167
|
+
body["extractShipping"] = this.getNodeParameter("extractShipping", i);
|
|
168
|
+
body["extractDescription"] = this.getNodeParameter("extractDescription", i);
|
|
169
|
+
body["extractImage"] = this.getNodeParameter("extractImage", i);
|
|
170
|
+
body["maxConcurrency"] = this.getNodeParameter("maxConcurrency", i);
|
|
171
|
+
body["timeout"] = this.getNodeParameter("timeout", i);
|
|
172
|
+
const options = {
|
|
173
|
+
method: 'POST',
|
|
174
|
+
url: `https://api.apify.com/v2/acts/${ACTOR_ID}/run-sync-get-dataset-items`,
|
|
175
|
+
body,
|
|
176
|
+
json: true,
|
|
177
|
+
};
|
|
178
|
+
const response = await this.helpers.requestWithAuthentication.call(this, 'apifyApi', options);
|
|
179
|
+
const results = Array.isArray(response) ? response : [response];
|
|
180
|
+
for (const result of results)
|
|
181
|
+
returnData.push({ json: result, pairedItem: { item: i } });
|
|
182
|
+
}
|
|
183
|
+
catch (error) {
|
|
184
|
+
if (this.continueOnFail()) {
|
|
185
|
+
returnData.push({ json: { error: error.message }, pairedItem: { item: i } });
|
|
186
|
+
continue;
|
|
187
|
+
}
|
|
188
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), error, { itemIndex: i });
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
return [returnData];
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
exports.Newegg = Newegg;
|
|
195
|
+
//# sourceMappingURL=Newegg.node.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Newegg.node.js","sourceRoot":"","sources":["../../../nodes/Newegg/Newegg.node.ts"],"names":[],"mappings":";;;AAQA,+CAAuE;AAEvE,MAAM,QAAQ,GAAG,sCAAsC,CAAC;AAExD;IAAA;QACC,gBAAW,GAAyB;YACnC,WAAW,EAAE,wBAAwB;YACrC,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,iBAAiB;YACvB,KAAK,EAAE,CAAC,WAAW,CAAC;YACpB,OAAO,EAAE,CAAC;YACV,WAAW,EAAE,iJAAiJ;YAC9J,QAAQ,EAAE,EAAE,IAAI,EAAE,wBAAwB,EAAE;YAC5C,MAAM,EAAE,CAAC,kCAAmB,C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Q,6BAA6B;oBAC3E,IAAI;oBACJ,IAAI,EAAE,IAAI;iBACV,CAAC;gBACF,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC,yBAAyB,CAAC,IAAI,CAAC,IAAI,EAAE,UAAU,EAAE,OAAO,CAAC,CAAC;gBAC9F,MAAM,OAAO,GAAG,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC;gBAChE,KAAK,MAAM,MAAM,IAAI,OAAO;oBAAE,UAAU,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,UAAU,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;YAC1F,CAAC;YAAC,OAAO,KAAK,EAAE,CAAC;gBAChB,IAAI,IAAI,CAAC,cAAc,EAAE,EAAE,CAAC;oBAC3B,UAAU,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,EAAE,KAAK,EAAG,KAAe,CAAC,OAAO,EAAE,EAAE,UAAU,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;oBACxF,SAAS;gBACV,CAAC;gBACD,MAAM,IAAI,iCAAkB,CAAC,IAAI,CAAC,OAAO,EAAE,EAAE,KAAc,EAAE,EAAE,SAAS,EAAE,CAAC,EAAE,CAAC,CAAC;YAChF,CAAC;QACF,CAAC;QACD,OAAO,CAAC,UAAU,CAAC,CAAC;IACrB,CAAC;CACD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" width="64" height="64"><rect width="64" height="64" rx="12" fill="#4f46e5"/><text x="32" y="40" font-family="Arial" font-size="28" font-weight="700" fill="#fff" text-anchor="middle">N</text></svg>
|
package/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = {};
|
package/package.json
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "n8n-nodes-apivault-newegg",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "n8n community node for Newegg Product Scraper — backed by the Apify Actor apivault_labs/newegg-product-scraper. No login. Pay-as-you-go via Apify.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"homepage": "https://apify.com/apivault_labs/newegg-product-scraper",
|
|
7
|
+
"keywords": [
|
|
8
|
+
"n8n-community-node-package",
|
|
9
|
+
"n8n",
|
|
10
|
+
"newegg",
|
|
11
|
+
"apify",
|
|
12
|
+
"no-code",
|
|
13
|
+
"automation"
|
|
14
|
+
],
|
|
15
|
+
"author": {
|
|
16
|
+
"name": "apivault_labs"
|
|
17
|
+
},
|
|
18
|
+
"repository": {
|
|
19
|
+
"type": "git",
|
|
20
|
+
"url": "https://github.com/apivault-labs/n8n-nodes-apivault-newegg.git"
|
|
21
|
+
},
|
|
22
|
+
"main": "index.js",
|
|
23
|
+
"scripts": {
|
|
24
|
+
"build": "tsc && copyfiles \"nodes/**/*.svg\" dist",
|
|
25
|
+
"dev": "tsc --watch"
|
|
26
|
+
},
|
|
27
|
+
"files": [
|
|
28
|
+
"dist"
|
|
29
|
+
],
|
|
30
|
+
"n8n": {
|
|
31
|
+
"n8nNodesApiVersion": 1,
|
|
32
|
+
"credentials": [
|
|
33
|
+
"dist/credentials/ApifyApi.credentials.js"
|
|
34
|
+
],
|
|
35
|
+
"nodes": [
|
|
36
|
+
"dist/nodes/Newegg/Newegg.node.js"
|
|
37
|
+
]
|
|
38
|
+
},
|
|
39
|
+
"devDependencies": {
|
|
40
|
+
"@types/node": "^20.10.0",
|
|
41
|
+
"copyfiles": "^2.4.1",
|
|
42
|
+
"n8n-workflow": "*",
|
|
43
|
+
"typescript": "^5.4.0"
|
|
44
|
+
},
|
|
45
|
+
"peerDependencies": {
|
|
46
|
+
"n8n-workflow": "*"
|
|
47
|
+
}
|
|
48
|
+
}
|