n8n-nodes-scraperapi 0.3.0 → 0.3.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/README.md CHANGED
@@ -27,6 +27,8 @@ Bring web data into self-hosted n8n agents and workflows with Geonode’s commun
27
27
  3. Add a **Geonode Scraper API** node. Choose **Extract → Run Extraction**, enter a URL, and choose **Markdown** as the output format.
28
28
  4. Execute the step. The result contains the page content in `data.markdown` and its cost in `tokens_charged`.
29
29
 
30
+ To skip steps 3 and 4, import [examples/extract-page-to-markdown.json](examples/extract-page-to-markdown.json) with **Workflows → Import from File**, select your credential on the Geonode Scraper API node and execute the workflow.
31
+
30
32
  You can obtain a key from **API Keys** in the [Geonode dashboard](https://app.geonode.com/). The credential test checks authenticated usage statistics.
31
33
 
32
34
  ## Build these workflows
@@ -69,8 +71,6 @@ Can't install on n8n Cloud? This is a self-hosted community node and has not bee
69
71
  No trigger events? Check workflow activation, the reachable webhook URL and signature verification. A successful credential test alone does not prove that callbacks arrive.
70
72
 
71
73
  Need parsed product fields or change alerts? Add your own parsing, storage and comparison nodes after extraction. The content response does not promise those outputs automatically.
72
-
73
- These recipes describe source-supported workflows. They have not been run as authenticated end-to-end examples in this review.
74
74
  <!-- END SHARED WORKFLOW GUIDE -->
75
75
 
76
76
  ## Develop locally
@@ -2,7 +2,10 @@ import { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, INodePro
2
2
  export declare class ScraperApiApi implements ICredentialType {
3
3
  name: string;
4
4
  displayName: string;
5
- icon: "file:scraper-geonode.svg";
5
+ icon: {
6
+ readonly light: "file:scraper-geonode.svg";
7
+ readonly dark: "file:scraper-geonode.svg";
8
+ };
6
9
  documentationUrl: string;
7
10
  properties: INodeProperties[];
8
11
  authenticate: IAuthenticateGeneric;
@@ -5,7 +5,7 @@ class ScraperApiApi {
5
5
  constructor() {
6
6
  this.name = 'scraperApiApi';
7
7
  this.displayName = 'Geonode Scraper API';
8
- this.icon = 'file:scraper-geonode.svg';
8
+ this.icon = { light: 'file:scraper-geonode.svg', dark: 'file:scraper-geonode.svg' };
9
9
  this.documentationUrl = 'https://docs.geonode.com/docs/scraper-api/v1/reference';
10
10
  this.properties = [
11
11
  {
@@ -1 +1 @@
1
- {"version":3,"file":"ScraperApiApi.credentials.js","sourceRoot":"","sources":["../../credentials/ScraperApiApi.credentials.ts"],"names":[],"mappings":";;;AAOA,MAAa,aAAa;IAA1B;QACE,SAAI,GAAG,eAAe,CAAC;QACvB,gBAAW,GAAG,qBAAqB,CAAC;QACpC,SAAI,GAAG,0BAAmC,CAAC;QAC3C,qBAAgB,GAAG,wDAAwD,CAAC;QAE5E,eAAU,GAAsB;YAC9B;gBACE,WAAW,EAAE,UAAU;gBACvB,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,4BAA4B;gBACrC,WAAW,EAAE,4BAA4B;gBACzC,WAAW,EAAE,4DAA4D;gBACzE,QAAQ,EAAE,IAAI;aACf;YACD;gBACE,WAAW,EAAE,SAAS;gBACtB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE;gBAC/B,OAAO,EAAE,EAAE;gBACX,QAAQ,EAAE,IAAI;gBACd,WAAW,EACT,+FAA+F;aAClG;SACF,CAAC;QAEF,iBAAY,GAAyB;YACnC,IAAI,EAAE,SAAS;YACf,UAAU,EAAE;gBACV,OAAO,EAAE;oBACP,WAAW,EAAE,0BAA0B;iBACxC;aACF;SACF,CAAC;QAIF,SAAI,GAA2B;YAC7B,OAAO,EAAE;gBACP,OAAO,EAAE,2BAA2B;gBACpC,GAAG,EAAE,gBAAgB;gBACrB,MAAM,EAAE,KAAK;aACd;SACF,CAAC;IACJ,CAAC;CAAA;AA9CD,sCA8CC"}
1
+ {"version":3,"file":"ScraperApiApi.credentials.js","sourceRoot":"","sources":["../../credentials/ScraperApiApi.credentials.ts"],"names":[],"mappings":";;;AAOA,MAAa,aAAa;IAA1B;QACE,SAAI,GAAG,eAAe,CAAC;QACvB,gBAAW,GAAG,qBAAqB,CAAC;QACpC,SAAI,GAAG,EAAE,KAAK,EAAE,0BAA0B,EAAE,IAAI,EAAE,0BAA0B,EAAW,CAAC;QACxF,qBAAgB,GAAG,wDAAwD,CAAC;QAE5E,eAAU,GAAsB;YAC9B;gBACE,WAAW,EAAE,UAAU;gBACvB,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,4BAA4B;gBACrC,WAAW,EAAE,4BAA4B;gBACzC,WAAW,EAAE,4DAA4D;gBACzE,QAAQ,EAAE,IAAI;aACf;YACD;gBACE,WAAW,EAAE,SAAS;gBACtB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE;gBAC/B,OAAO,EAAE,EAAE;gBACX,QAAQ,EAAE,IAAI;gBACd,WAAW,EACT,+FAA+F;aAClG;SACF,CAAC;QAEF,iBAAY,GAAyB;YACnC,IAAI,EAAE,SAAS;YACf,UAAU,EAAE;gBACV,OAAO,EAAE;oBACP,WAAW,EAAE,0BAA0B;iBACxC;aACF;SACF,CAAC;QAIF,SAAI,GAA2B;YAC7B,OAAO,EAAE;gBACP,OAAO,EAAE,2BAA2B;gBACpC,GAAG,EAAE,gBAAgB;gBACrB,MAAM,EAAE,KAAK;aACd;SACF,CAAC;IACJ,CAAC;CAAA;AA9CD,sCA8CC"}