n8n-nodes-scrapingbee 0.1.6 → 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.
package/README.md CHANGED
@@ -21,6 +21,17 @@ Follow the [installation guide](https://docs.n8n.io/integrations/community-nodes
21
21
 
22
22
  - HTML API: GET, POST, PUT
23
23
  - Google Search API: GET
24
+ - Fast Search API: GET
25
+ - Amazon Search API: GET
26
+ - Amazon Product API: GET
27
+ - Amazon Pricing API: GET
28
+ - Walmart Search API: GET
29
+ - Walmart Product API: GET
30
+ - YouTube Search API: GET
31
+ - YouTube Metadata API: GET
32
+ - YouTube Subtitles API: GET
33
+ - ChatGPT API: GET
34
+ - Gemini API: GET
24
35
  - Usage: GET
25
36
 
26
37
  ## Credentials
@@ -38,17 +49,22 @@ n8n 1.101.2 and above
38
49
  * [n8n community nodes documentation](https://docs.n8n.io/integrations/#community-nodes)
39
50
  * [HTML API](https://www.scrapingbee.com/documentation/)
40
51
  * [Google Search API](https://www.scrapingbee.com/documentation/google/)
52
+ * [Fast Search API](https://www.scrapingbee.com/documentation/fast-search/)
41
53
  * [Amazon Search API](https://www.scrapingbee.com/documentation/amazon/#amazon-search-api)
42
54
  * [Amazon Product API](https://www.scrapingbee.com/documentation/amazon/#amazon-product-api)
55
+ * [Amazon Pricing API](https://www.scrapingbee.com/documentation/amazon/#amazon-pricing-api)
43
56
  * [Walmart Search API](https://www.scrapingbee.com/documentation/walmart/#walmart-search-api)
44
57
  * [Walmart Product API](https://www.scrapingbee.com/documentation/walmart/#walmart-product-api)
58
+ * [YouTube APIs](https://www.scrapingbee.com/documentation/youtube/)
45
59
  * [ChatGPT API](https://www.scrapingbee.com/documentation/chatgpt/)
60
+ * [Gemini API](https://www.scrapingbee.com/documentation/gemini/)
46
61
  * [Usage](https://www.scrapingbee.com/documentation/#usage-endpoint)
47
62
  * [Data Extraction](https://www.scrapingbee.com/documentation/data-extraction/)
48
63
  * [JavaScript Scenario](https://www.scrapingbee.com/documentation/js-scenario/)
49
64
 
50
65
  ## Version history
51
66
 
67
+ - 1.0.0: Switched authentication from the deprecated `api_key` query parameter to the `Authorization: Bearer` header (existing credentials keep working). Added Amazon Pricing, Fast Search, and Gemini APIs. Added HTML API Auto-Mode (`mode`, `max_cost`) and new Google Search parameters (`light_request`, `pages`, `date_range`, geotargeting, shopping filters, and new search types). Breaking: renamed YouTube Transcript API to YouTube Subtitles API (new `/youtube/subtitles` endpoint, `subtitle_origin` parameter), and removed the discontinued YouTube Trainability API (the endpoint no longer exists).
52
68
  - 0.1.6: Added support for YouTube APIs
53
69
  - 0.1.5: Added support for Amazon, Walmart, and ChatGPT APIs, and configured it to be used as a tool for AI Agent
54
70
  - 0.1.4: Added option to send body in POST and PUT requests, replaced deprecated interface and method, set n8n as user-agent and other minor changes
@@ -20,8 +20,8 @@ class ScrapingBeeApi {
20
20
  this.authenticate = {
21
21
  type: 'generic',
22
22
  properties: {
23
- qs: {
24
- api_key: '={{$credentials.apiKey}}',
23
+ headers: {
24
+ Authorization: '=Bearer {{$credentials.apiKey}}',
25
25
  },
26
26
  },
27
27
  };
@@ -1 +1 @@
1
- {"version":3,"file":"ScrapingBeeApi.credentials.js","sourceRoot":"","sources":["../../credentials/ScrapingBeeApi.credentials.ts"],"names":[],"mappings":";;;AAEA,MAAa,cAAc;IAA3B;QAEC,SAAI,GAAG,gBAAgB,CAAC;QACxB,gBAAW,GAAG,iBAAiB,CAAC;QAChC,qBAAgB,GAAG,4CAA4C,CAAC;QAChE,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,SAAS;gBACtB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE;oBACZ,QAAQ,EAAE,IAAI;iBACd;gBACD,OAAO,EAAE,EAAE;aACX;SACD,CAAC;QACF,iBAAY,GAAyB;YACpC,IAAI,EAAE,SAAS;YACf,UAAU,EAAE;gBACX,EAAE,EAAE;oBACH,OAAO,EAAE,0BAA0B;iBACnC;aACD;SACD,CAAC;QAEF,SAAI,GAA2B;YAC9B,OAAO,EAAE;gBACR,OAAO,EAAE,qCAAqC;gBAC9C,GAAG,EAAE,OAAO;aACZ;SACD,CAAC;IAGH,CAAC;CAAA;AAjCD,wCAiCC"}
1
+ {"version":3,"file":"ScrapingBeeApi.credentials.js","sourceRoot":"","sources":["../../credentials/ScrapingBeeApi.credentials.ts"],"names":[],"mappings":";;;AAEA,MAAa,cAAc;IAA3B;QAEC,SAAI,GAAG,gBAAgB,CAAC;QACxB,gBAAW,GAAG,iBAAiB,CAAC;QAChC,qBAAgB,GAAG,4CAA4C,CAAC;QAChE,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,SAAS;gBACtB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE;oBACZ,QAAQ,EAAE,IAAI;iBACd;gBACD,OAAO,EAAE,EAAE;aACX;SACD,CAAC;QACF,iBAAY,GAAyB;YACpC,IAAI,EAAE,SAAS;YACf,UAAU,EAAE;gBACX,OAAO,EAAE;oBACR,aAAa,EAAE,iCAAiC;iBAChD;aACD;SACD,CAAC;QAEF,SAAI,GAA2B;YAC9B,OAAO,EAAE;gBACR,OAAO,EAAE,qCAAqC;gBAC9C,GAAG,EAAE,OAAO;aACZ;SACD,CAAC;IAGH,CAAC;CAAA;AAjCD,wCAiCC"}