n8n-nodes-threads-scraper 0.0.0-stage → 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.
Files changed (26) hide show
  1. package/LICENSE.md +19 -0
  2. package/README.md +93 -2
  3. package/dist/credentials/ApifyApi.credentials.d.ts +10 -0
  4. package/dist/credentials/ApifyApi.credentials.js +39 -0
  5. package/dist/credentials/ApifyApi.credentials.js.map +1 -0
  6. package/dist/credentials/ApifyOAuth2Api.credentials.d.ts +9 -0
  7. package/dist/credentials/ApifyOAuth2Api.credentials.js +69 -0
  8. package/dist/credentials/ApifyOAuth2Api.credentials.js.map +1 -0
  9. package/dist/icons/apify.svg +5 -0
  10. package/dist/nodes/ApifyThreadsScraper/ApifyThreadsScraper.node.d.ts +13 -0
  11. package/dist/nodes/ApifyThreadsScraper/ApifyThreadsScraper.node.js +84 -0
  12. package/dist/nodes/ApifyThreadsScraper/ApifyThreadsScraper.node.js.map +1 -0
  13. package/dist/nodes/ApifyThreadsScraper/ApifyThreadsScraper.node.json +38 -0
  14. package/dist/nodes/ApifyThreadsScraper/ApifyThreadsScraper.properties.d.ts +4 -0
  15. package/dist/nodes/ApifyThreadsScraper/ApifyThreadsScraper.properties.js +213 -0
  16. package/dist/nodes/ApifyThreadsScraper/ApifyThreadsScraper.properties.js.map +1 -0
  17. package/dist/nodes/ApifyThreadsScraper/helpers/executeActor.d.ts +3 -0
  18. package/dist/nodes/ApifyThreadsScraper/helpers/executeActor.js +38 -0
  19. package/dist/nodes/ApifyThreadsScraper/helpers/executeActor.js.map +1 -0
  20. package/dist/nodes/ApifyThreadsScraper/helpers/genericFunctions.d.ts +10 -0
  21. package/dist/nodes/ApifyThreadsScraper/helpers/genericFunctions.js +83 -0
  22. package/dist/nodes/ApifyThreadsScraper/helpers/genericFunctions.js.map +1 -0
  23. package/dist/nodes/ApifyThreadsScraper/logo.svg +1 -0
  24. package/dist/package.json +67 -0
  25. package/dist/tsconfig.tsbuildinfo +1 -0
  26. package/package.json +66 -5
package/LICENSE.md ADDED
@@ -0,0 +1,19 @@
1
+ Copyright 2022 n8n
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
4
+ this software and associated documentation files (the "Software"), to deal in
5
+ the Software without restriction, including without limitation the rights to
6
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
7
+ of the Software, and to permit persons to whom the Software is furnished to do
8
+ so, subject to the following conditions:
9
+
10
+ The above copyright notice and this permission notice shall be included in all
11
+ copies or substantial portions of the Software.
12
+
13
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19
+ SOFTWARE.
package/README.md CHANGED
@@ -1,3 +1,94 @@
1
- # Temporary Holding Version
1
+ # n8n node: Threads Scraper
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ Scrape Meta Threads posts from profiles, keyword search and post URLs: text, likes, replies, reposts, quotes, media, links and author. Profile followers and bio. Date filter. No login, fast HTTP.
4
+
5
+ This community node runs the [Threads Scraper](https://apify.com/novi/threads-scraper?fpr=7hce1m) Actor on [Apify](https://apify.com?fpr=7hce1m) and
6
+ returns its results to your workflow, one n8n item per result. It also works as a tool for the n8n
7
+ AI Agent.
8
+
9
+ ## Installation
10
+
11
+ 1. In n8n, go to **Settings > Community Nodes**.
12
+ 2. Select **Install**, enter `n8n-nodes-threads-scraper` and confirm.
13
+
14
+ For self-hosted n8n you can also run `npm install n8n-nodes-threads-scraper` in your n8n custom nodes folder.
15
+ See the [n8n community nodes docs](https://docs.n8n.io/integrations/community-nodes/installation/).
16
+
17
+ ## Credentials
18
+
19
+ You need an [Apify account](https://console.apify.com/sign-up?fpr=7hce1m). In the node, pick one of:
20
+
21
+ - **API Key**: paste your token from [Apify Console > Settings > API & Integrations](https://console.apify.com/settings/integrations).
22
+ - **OAuth2**: sign in with Apify (n8n cloud).
23
+
24
+ The Actor is billed to your Apify account. See the pricing on the [Actor page](https://apify.com/novi/threads-scraper?fpr=7hce1m).
25
+
26
+ ## Parameters
27
+
28
+ Only the fields you fill in are sent to the Actor; empty fields use the Actor's own defaults.
29
+
30
+ | Parameter | Type | Default | Description |
31
+ |---|---|---|---|
32
+ | **Profiles**<br>`usernames` | List | | Threads usernames, @handles or profile URLs. The scraper collects each profile's posts, newest first. One per line. |
33
+ | **Search keywords**<br>`searchQueries` | List | | Keywords or hashtags to search on Threads. Threads shows logged-out visitors about 10 to 40 posts per keyword. |
34
+ | **Threads URLs**<br>`startUrls` | List | | Any mix of profile URLs (threads.com/@name), post URLs (threads.com/@name/post/...) and search URLs (threads.com/search?q=...). A post URL returns the post and its top replies. |
35
+ | **Max posts per source**<br>`maxPostsPerSource` | Number | `50` | How many posts to collect from each profile, keyword or post (replies). |
36
+ | **Search results**<br>`searchSort` | Option | `Top + Recent (most posts)` | Which search results to collect for keywords: Top, Recent, or both merged (more posts). |
37
+ | **Only posts newer than**<br>`oldestPostDate` | Text | | Skip posts published before this date: an absolute date (2025-01-31) or a relative one (7 days, 3 months). For profiles the scraper stops as soon as it reaches older posts. |
38
+ | **Include profile info**<br>`includeProfileInfo` | Boolean | `false` | Add one row per profile with followers, bio, bio links, verified badge and profile picture. Charged per profile. |
39
+ | **Include replies for post URLs**<br>`includeReplies` | Boolean | `true` | For post URLs, also collect the top replies that Threads shows logged-out visitors. |
40
+ | **Proxy configuration**<br>`proxyConfiguration` | JSON | `{"useApifyProxy":true}` | Apify Proxy (on by default) spreads requests over many IPs, because Threads rate-limits single IPs quickly. Switch to the RESIDENTIAL group if many requests still fail. |
41
+
42
+ ## Output example
43
+
44
+ Each dataset item becomes one n8n item. A shortened example (the real items have more fields):
45
+
46
+ ```json
47
+ {
48
+ "source": "zuck",
49
+ "sourceType": "profile",
50
+ "position": 1,
51
+ "type": "post",
52
+ "id": "4037269139215862082",
53
+ "code": "DgHQuRJm8lC",
54
+ "url": "https://www.threads.com/@zuck/post/DgHQuRJm8lC",
55
+ "text": "We've even trained it on a new way to pronounce \"aluminium\". Give it a try today.",
56
+ "createdAt": "2026-11-24T06:00:07.000Z",
57
+ "authorUsername": "zuck",
58
+ "authorFullName": "Mark Zuckerberg",
59
+ "authorId": "63055343223",
60
+ "authorIsVerified": true,
61
+ "authorProfilePicUrl": "https://scontent-lga3-1.cdninstagram.com/v/t51.82787-19/825322135_17989325280103224_1252773933700107438_n.jpg?stp=dst...",
62
+ "likeCount": 1030,
63
+ "replyCount": 213,
64
+ "repostCount": 29,
65
+ "quoteCount": 10,
66
+ "shareCount": 12,
67
+ "isReply": false,
68
+ "replyToUsername": null,
69
+ "isPinned": false,
70
+ "topic": "Muse",
71
+ "language": "en",
72
+ "mentions": []
73
+ }
74
+ ```
75
+
76
+ ## How it works
77
+
78
+ The node starts a run of the Actor with your parameters, waits for it to finish, and returns the
79
+ items of the run's dataset. If the run fails without producing any items, the node throws an error
80
+ with the run's status message (enable **Continue On Fail** to keep the workflow going).
81
+
82
+ ## Changelog
83
+
84
+ - **0.1.0** (2026-12-02): first release.
85
+
86
+ ## Links
87
+
88
+ - [Actor on Apify Store](https://apify.com/novi/threads-scraper?fpr=7hce1m)
89
+ - [Apify integration with n8n](https://docs.apify.com/platform/integrations/n8n)
90
+ - [Report an issue](https://apify.com/novi/threads-scraper/issues)
91
+
92
+ ## License
93
+
94
+ [MIT](LICENSE.md)
@@ -0,0 +1,10 @@
1
+ import type { IAuthenticateGeneric, Icon, ICredentialTestRequest, ICredentialType, INodeProperties } from 'n8n-workflow';
2
+ export declare class ApifyApi implements ICredentialType {
3
+ name: string;
4
+ displayName: string;
5
+ documentationUrl: string;
6
+ icon: Icon;
7
+ properties: INodeProperties[];
8
+ authenticate: IAuthenticateGeneric;
9
+ test: ICredentialTestRequest;
10
+ }
@@ -0,0 +1,39 @@
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#api-token';
9
+ this.icon = {
10
+ light: "file:../nodes/ApifyThreadsScraper/logo.svg",
11
+ dark: "file:../nodes/ApifyThreadsScraper/logo.svg",
12
+ };
13
+ this.properties = [
14
+ {
15
+ displayName: 'API Key',
16
+ name: 'apiKey',
17
+ type: 'string',
18
+ typeOptions: { password: true },
19
+ default: '',
20
+ },
21
+ ];
22
+ this.authenticate = {
23
+ type: 'generic',
24
+ properties: {
25
+ headers: {
26
+ Authorization: '=Bearer {{$credentials.apiKey}}',
27
+ },
28
+ },
29
+ };
30
+ this.test = {
31
+ request: {
32
+ method: 'GET',
33
+ url: 'https://api.apify.com/v2/me',
34
+ },
35
+ };
36
+ }
37
+ }
38
+ exports.ApifyApi = ApifyApi;
39
+ //# sourceMappingURL=ApifyApi.credentials.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ApifyApi.credentials.js","sourceRoot":"","sources":["../../credentials/ApifyApi.credentials.ts"],"names":[],"mappings":";;;AAEA,MAAa,QAAQ;IAArB;QACC,SAAI,GAAG,UAAU,CAAC;QAElB,gBAAW,GAAG,WAAW,CAAC;QAE1B,qBAAgB,GAAG,4DAA4D,CAAC;QAEhF,SAAI,GAAS;YACZ,KAAK,EAAE,4CAA4C;YACnD,IAAI,EAAE,4CAA4C;SAClD,CAAA;QAED,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,SAAS;gBACtB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE;gBAC/B,OAAO,EAAE,EAAE;aACX;SACD,CAAC;QAEF,iBAAY,GAAyB;YACpC,IAAI,EAAE,SAAS;YACf,UAAU,EAAE;gBACX,OAAO,EAAE;oBACR,aAAa,EAAE,iCAAiC;iBAChD;aACD;SACD,CAAC;QAKF,SAAI,GAA2B;YAC9B,OAAO,EAAE;gBACR,MAAM,EAAE,KAAK;gBACb,GAAG,EAAE,6BAA6B;aAClC;SACD,CAAC;IACH,CAAC;CAAA;AAxCD,4BAwCC"}
@@ -0,0 +1,9 @@
1
+ import type { Icon, ICredentialType, INodeProperties } from 'n8n-workflow';
2
+ export declare class ApifyOAuth2Api implements ICredentialType {
3
+ name: string;
4
+ extends: string[];
5
+ displayName: string;
6
+ icon: Icon;
7
+ documentationUrl: string;
8
+ properties: INodeProperties[];
9
+ }
@@ -0,0 +1,69 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ApifyOAuth2Api = void 0;
4
+ const scopes = ['profile', 'full_api_access'];
5
+ class ApifyOAuth2Api {
6
+ constructor() {
7
+ this.name = 'apifyOAuth2Api';
8
+ this.extends = ['oAuth2Api'];
9
+ this.displayName = 'Apify OAuth2 API';
10
+ this.icon = {
11
+ light: "file:../nodes/ApifyThreadsScraper/logo.svg",
12
+ dark: "file:../nodes/ApifyThreadsScraper/logo.svg",
13
+ };
14
+ this.documentationUrl = 'https://docs.apify.com/api/v2';
15
+ this.properties = [
16
+ {
17
+ displayName: 'Grant Type',
18
+ name: 'grantType',
19
+ type: 'hidden',
20
+ default: 'pkce',
21
+ },
22
+ {
23
+ displayName: 'Authorization URL',
24
+ name: 'authUrl',
25
+ type: 'hidden',
26
+ default: 'https://console.apify.com/authorize/oauth',
27
+ },
28
+ {
29
+ displayName: 'Access Token URL',
30
+ name: 'accessTokenUrl',
31
+ type: 'hidden',
32
+ default: 'https://console-backend.apify.com/oauth/apps/token',
33
+ },
34
+ {
35
+ displayName: 'Scope',
36
+ name: 'scope',
37
+ type: 'hidden',
38
+ default: `${scopes.join(' ')}`,
39
+ },
40
+ {
41
+ displayName: 'Auth URI Query Parameters',
42
+ name: 'authQueryParameters',
43
+ type: 'hidden',
44
+ default: '',
45
+ },
46
+ {
47
+ displayName: 'Authentication',
48
+ name: 'authentication',
49
+ type: 'hidden',
50
+ default: 'header',
51
+ },
52
+ {
53
+ displayName: 'Client ID',
54
+ name: 'clientId',
55
+ type: 'hidden',
56
+ default: '',
57
+ },
58
+ {
59
+ displayName: 'Client Secret',
60
+ name: 'clientSecret',
61
+ type: 'hidden',
62
+ default: '',
63
+ typeOptions: { password: true },
64
+ },
65
+ ];
66
+ }
67
+ }
68
+ exports.ApifyOAuth2Api = ApifyOAuth2Api;
69
+ //# sourceMappingURL=ApifyOAuth2Api.credentials.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ApifyOAuth2Api.credentials.js","sourceRoot":"","sources":["../../credentials/ApifyOAuth2Api.credentials.ts"],"names":[],"mappings":";;;AAEA,MAAM,MAAM,GAAG,CAAC,SAAS,EAAE,iBAAiB,CAAC,CAAC;AAE9C,MAAa,cAAc;IAA3B;QACC,SAAI,GAAG,gBAAgB,CAAC;QAExB,YAAO,GAAG,CAAC,WAAW,CAAC,CAAC;QAExB,gBAAW,GAAG,kBAAkB,CAAC;QAEjC,SAAI,GAAS;YACZ,KAAK,EAAE,4CAA4C;YACnD,IAAI,EAAE,4CAA4C;SAClD,CAAA;QAGD,qBAAgB,GAAG,+BAA+B,CAAC;QAEnD,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,YAAY;gBACzB,IAAI,EAAE,WAAW;gBACjB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,MAAM;aACf;YACD;gBACC,WAAW,EAAE,mBAAmB;gBAChC,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,2CAA2C;aACpD;YACD;gBACC,WAAW,EAAE,kBAAkB;gBAC/B,IAAI,EAAE,gBAAgB;gBACtB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,oDAAoD;aAC7D;YACD;gBACC,WAAW,EAAE,OAAO;gBACpB,IAAI,EAAE,OAAO;gBACb,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,GAAG,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE;aAC9B;YACD;gBACC,WAAW,EAAE,2BAA2B;gBACxC,IAAI,EAAE,qBAAqB;gBAC3B,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;aACX;YACD;gBACC,WAAW,EAAE,gBAAgB;gBAC7B,IAAI,EAAE,gBAAgB;gBACtB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,QAAQ;aACjB;YACD;gBACC,WAAW,EAAE,WAAW;gBACxB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;aACX;YACD;gBACC,WAAW,EAAE,eAAe;gBAC5B,IAAI,EAAE,cAAc;gBACpB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE;aAC/B;SACD,CAAC;IACH,CAAC;CAAA;AAlED,wCAkEC"}
@@ -0,0 +1,5 @@
1
+ <svg width="150" height="150" viewBox="0 0 150 150" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M86.0214 0H147.727C148.982 0 150 1.01753 150 2.27273V96.5744C150 98.8332 147.062 99.7089 145.826 97.8188L84.1196 3.51714C83.1305 2.00559 84.215 0 86.0214 0Z" fill="#246DFF"/>
3
+ <path d="M63.9786 0H2.27273C1.01753 0 0 1.01753 0 2.27273V96.5744C0 98.8332 2.93774 99.7089 4.1745 97.8188L65.8804 3.51714C66.8695 2.00559 65.785 0 63.9786 0Z" fill="#20A34E"/>
4
+ <path d="M73.9429 75.5012L3.84485 146.126C2.42137 147.56 3.43724 150 5.45792 150H144.6C146.612 150 147.632 147.578 146.225 146.139L77.1811 75.5135C76.2942 74.6063 74.8365 74.6008 73.9429 75.5012Z" fill="#F86606"/>
5
+ </svg>
@@ -0,0 +1,13 @@
1
+ import { IExecuteFunctions, INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow';
2
+ export declare const ACTOR_ID: string;
3
+ export declare const PACKAGE_NAME: string;
4
+ export declare const CLASS_NAME: string;
5
+ export declare const ClassNameCamel: string;
6
+ export declare const X_PLATFORM_HEADER_ID: string;
7
+ export declare const X_PLATFORM_APP_HEADER_ID: string;
8
+ export declare const DISPLAY_NAME: string;
9
+ export declare const DESCRIPTION: string;
10
+ export declare class ApifyThreadsScraper implements INodeType {
11
+ description: INodeTypeDescription;
12
+ execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]>;
13
+ }
@@ -0,0 +1,84 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ApifyThreadsScraper = exports.DESCRIPTION = exports.DISPLAY_NAME = exports.X_PLATFORM_APP_HEADER_ID = exports.X_PLATFORM_HEADER_ID = exports.ClassNameCamel = exports.CLASS_NAME = exports.PACKAGE_NAME = exports.ACTOR_ID = void 0;
4
+ const n8n_workflow_1 = require("n8n-workflow");
5
+ const ApifyThreadsScraper_properties_1 = require("./ApifyThreadsScraper.properties");
6
+ const executeActor_1 = require("./helpers/executeActor");
7
+ exports.ACTOR_ID = 'zsySuLW1QJPAGRh86';
8
+ exports.PACKAGE_NAME = 'n8n-nodes-threads-scraper';
9
+ exports.CLASS_NAME = 'ApifyThreadsScraper';
10
+ exports.ClassNameCamel = exports.CLASS_NAME.charAt(0).toLowerCase() + exports.CLASS_NAME.slice(1);
11
+ exports.X_PLATFORM_HEADER_ID = 'n8n';
12
+ exports.X_PLATFORM_APP_HEADER_ID = 'threads-scraper-app';
13
+ exports.DISPLAY_NAME = 'Apify Threads Scraper';
14
+ exports.DESCRIPTION = 'Scrape Meta Threads posts from profiles, keyword search and post URLs: text, likes, replies, reposts, quotes, media, links and author. Profile followers and bio. Date filter. No login, fast HTTP.';
15
+ class ApifyThreadsScraper {
16
+ constructor() {
17
+ this.description = {
18
+ displayName: exports.DISPLAY_NAME,
19
+ name: exports.ClassNameCamel,
20
+ icon: { light: 'file:logo.svg', dark: 'file:logo.svg' },
21
+ group: ['transform'],
22
+ version: [1],
23
+ defaultVersion: 1,
24
+ subtitle: 'Run Scraper',
25
+ description: exports.DESCRIPTION,
26
+ defaults: {
27
+ name: exports.DISPLAY_NAME,
28
+ },
29
+ inputs: [n8n_workflow_1.NodeConnectionTypes.Main],
30
+ outputs: [n8n_workflow_1.NodeConnectionTypes.Main],
31
+ usableAsTool: true,
32
+ credentials: [
33
+ {
34
+ displayName: 'Apify API key connection',
35
+ name: 'apifyApi',
36
+ required: false,
37
+ displayOptions: {
38
+ show: {
39
+ authentication: ['apifyApi'],
40
+ },
41
+ },
42
+ },
43
+ {
44
+ displayName: 'Apify OAuth2 connection',
45
+ name: 'apifyOAuth2Api',
46
+ required: false,
47
+ displayOptions: {
48
+ show: {
49
+ authentication: ['apifyOAuth2Api'],
50
+ },
51
+ },
52
+ },
53
+ ],
54
+ properties: ApifyThreadsScraper_properties_1.properties,
55
+ };
56
+ }
57
+ async execute() {
58
+ const items = this.getInputData();
59
+ const returnData = [];
60
+ for (let i = 0; i < items.length; i++) {
61
+ try {
62
+ const data = await executeActor_1.runActor.call(this, i);
63
+ const addPairedItem = (item) => ({
64
+ ...item,
65
+ pairedItem: { item: i },
66
+ });
67
+ returnData.push(...data.map(addPairedItem));
68
+ }
69
+ catch (error) {
70
+ if (this.continueOnFail()) {
71
+ returnData.push({
72
+ json: { error: error.message },
73
+ pairedItem: { item: i },
74
+ });
75
+ continue;
76
+ }
77
+ throw new n8n_workflow_1.NodeOperationError(this.getNode(), error, { itemIndex: i });
78
+ }
79
+ }
80
+ return [returnData];
81
+ }
82
+ }
83
+ exports.ApifyThreadsScraper = ApifyThreadsScraper;
84
+ //# sourceMappingURL=ApifyThreadsScraper.node.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ApifyThreadsScraper.node.js","sourceRoot":"","sources":["../../../nodes/ApifyThreadsScraper/ApifyThreadsScraper.node.ts"],"names":[],"mappings":";;;AAAA,+CAOsB;AACtB,qFAA8D;AAC9D,yDAAkD;AAGrC,QAAA,QAAQ,GAAG,mBAA6B,CAAC;AAEzC,QAAA,YAAY,GAAG,2BAAqC,CAAC;AACrD,QAAA,UAAU,GAAG,qBAA+B,CAAC;AAC7C,QAAA,cAAc,GAAG,kBAAU,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,GAAG,kBAAU,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;AAE1E,QAAA,oBAAoB,GAAG,KAAe,CAAC;AACvC,QAAA,wBAAwB,GAAG,qBAA+B,CAAC;AAE3D,QAAA,YAAY,GAAG,uBAAiC,CAAC;AACjD,QAAA,WAAW,GAAG,qMAA+M,CAAC;AAE3O,MAAa,mBAAmB;IAAhC;QACC,gBAAW,GAAyB;YACnC,WAAW,EAAE,oBAAY;YACzB,IAAI,EAAE,sBAAc;YAGpB,IAAI,EAAE,EAAE,KAAK,EAAE,eAAe,EAAE,IAAI,EAAE,eAAe,EAAE;YACvD,KAAK,EAAE,CAAC,WAAW,CAAC;YAEpB,OAAO,EAAE,CAAC,CAAC,CAAC;YACZ,cAAc,EAAE,CAAC;YAGjB,QAAQ,EAAE,aAAa;YAGvB,WAAW,EAAE,mBAAW;YACxB,QAAQ,EAAE;gBACT,IAAI,EAAE,oBAAY;aAClB;YACD,MAAM,EAAE,CAAC,kCAAmB,CAAC,IAAI,CAAC;YAClC,OAAO,EAAE,CAAC,kCAAmB,CAAC,IAAI,CAAC;YACnC,YAAY,EAAE,IAAI;YAClB,WAAW,EAAE;gBACZ;oBACC,WAAW,EAAE,0BAA0B;oBACvC,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AAkB,CAAC,IAAI,CAAC,OAAO,EAAE,EAAE,KAAc,EAAE,EAAE,SAAS,EAAE,CAAC,EAAE,CAAC,CAAC;YAChF,CAAC;QACF,CAAC;QAED,OAAO,CAAC,UAAU,CAAC,CAAC;IACrB,CAAC;CACD;AA7ED,kDA6EC"}
@@ -0,0 +1,38 @@
1
+ {
2
+ "node": "n8n-nodes-threads-scraper",
3
+ "nodeVersion": "1.0",
4
+ "codexVersion": "1.0",
5
+ "categories": [
6
+ "Development",
7
+ "Marketing & Content",
8
+ "Sales",
9
+ "Analytics",
10
+ "Utility",
11
+ "Data & Storage"
12
+ ],
13
+ "resources": {
14
+ "credentialDocumentation": [
15
+ {
16
+ "url": "https://docs.apify.com/platform/integrations/n8n"
17
+ }
18
+ ],
19
+ "primaryDocumentation": [
20
+ {
21
+ "url": "https://docs.apify.com/"
22
+ }
23
+ ]
24
+ },
25
+ "alias": [
26
+ "apify",
27
+ "actor",
28
+ "serp",
29
+ "llm",
30
+ "ai agent",
31
+ "scrape",
32
+ "crawler",
33
+ "web",
34
+ "dataset",
35
+ "search",
36
+ "data extraction"
37
+ ]
38
+ }
@@ -0,0 +1,4 @@
1
+ import { IExecuteFunctions, INodeProperties } from 'n8n-workflow';
2
+ export declare function buildActorInput(context: IExecuteFunctions, itemIndex: number): Record<string, any>;
3
+ export declare const actorProperties: INodeProperties[];
4
+ export declare const properties: INodeProperties[];
@@ -0,0 +1,213 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.properties = exports.actorProperties = void 0;
4
+ exports.buildActorInput = buildActorInput;
5
+ const n8n_workflow_1 = require("n8n-workflow");
6
+ function getFixedCollectionParam(context, paramName, itemIndex, optionName, transformType) {
7
+ var _a;
8
+ const param = context.getNodeParameter(paramName, itemIndex, {});
9
+ if (!((_a = param === null || param === void 0 ? void 0 : param[optionName]) === null || _a === void 0 ? void 0 : _a.length))
10
+ return {};
11
+ let result = param[optionName];
12
+ if (transformType === 'mapValues') {
13
+ result = result.map((item) => item.value).filter((value) => value !== '');
14
+ }
15
+ return result.length ? { [paramName]: result } : {};
16
+ }
17
+ function getJsonParam(context, paramName, itemIndex) {
18
+ try {
19
+ const rawValue = context.getNodeParameter(paramName, itemIndex);
20
+ if (typeof rawValue === 'string' && rawValue.trim() === '') {
21
+ return {};
22
+ }
23
+ return { [paramName]: typeof rawValue === 'string' ? JSON.parse(rawValue) : rawValue };
24
+ }
25
+ catch (error) {
26
+ throw new n8n_workflow_1.NodeOperationError(context.getNode(), `Invalid JSON in parameter "${paramName}": ${error.message}`, { itemIndex });
27
+ }
28
+ }
29
+ function getOptionalParam(context, paramName, itemIndex) {
30
+ const value = context.getNodeParameter(paramName, itemIndex);
31
+ return value !== undefined && value !== null && value !== '' ? { [paramName]: value } : {};
32
+ }
33
+ function buildActorInput(context, itemIndex) {
34
+ return {
35
+ ...getFixedCollectionParam(context, 'usernames', itemIndex, 'values', 'mapValues'),
36
+ ...getFixedCollectionParam(context, 'searchQueries', itemIndex, 'values', 'mapValues'),
37
+ ...getFixedCollectionParam(context, 'startUrls', itemIndex, 'items', 'passthrough'),
38
+ maxPostsPerSource: context.getNodeParameter('maxPostsPerSource', itemIndex),
39
+ ...getOptionalParam(context, 'searchSort', itemIndex),
40
+ ...getOptionalParam(context, 'oldestPostDate', itemIndex),
41
+ includeProfileInfo: context.getNodeParameter('includeProfileInfo', itemIndex),
42
+ includeReplies: context.getNodeParameter('includeReplies', itemIndex),
43
+ ...getJsonParam(context, 'proxyConfiguration', itemIndex),
44
+ };
45
+ }
46
+ const authenticationProperties = [
47
+ {
48
+ displayName: 'Authentication',
49
+ name: 'authentication',
50
+ type: 'options',
51
+ options: [
52
+ {
53
+ name: 'API Key',
54
+ value: 'apifyApi',
55
+ },
56
+ {
57
+ name: 'OAuth2',
58
+ value: 'apifyOAuth2Api',
59
+ },
60
+ ],
61
+ default: 'apifyApi',
62
+ description: 'Choose which authentication method to use',
63
+ },
64
+ ];
65
+ exports.actorProperties = [
66
+ {
67
+ "displayName": "Profiles",
68
+ "name": "usernames",
69
+ "description": "Threads usernames, @handles or profile URLs. The scraper collects each profile's posts, newest first. One per line.",
70
+ "required": false,
71
+ "default": {},
72
+ "type": "fixedCollection",
73
+ "typeOptions": {
74
+ "multipleValues": true
75
+ },
76
+ "options": [
77
+ {
78
+ "name": "values",
79
+ "displayName": "Values",
80
+ "values": [
81
+ {
82
+ "displayName": "Value",
83
+ "name": "value",
84
+ "type": "string",
85
+ "default": "",
86
+ "placeholder": "@zuck"
87
+ }
88
+ ]
89
+ }
90
+ ]
91
+ },
92
+ {
93
+ "displayName": "Search keywords",
94
+ "name": "searchQueries",
95
+ "description": "Keywords or hashtags to search on Threads. Threads shows logged-out visitors about 10 to 40 posts per keyword.",
96
+ "required": false,
97
+ "default": {},
98
+ "type": "fixedCollection",
99
+ "typeOptions": {
100
+ "multipleValues": true
101
+ },
102
+ "options": [
103
+ {
104
+ "name": "values",
105
+ "displayName": "Values",
106
+ "values": [
107
+ {
108
+ "displayName": "Value",
109
+ "name": "value",
110
+ "type": "string",
111
+ "default": "",
112
+ "placeholder": "web scraping"
113
+ }
114
+ ]
115
+ }
116
+ ]
117
+ },
118
+ {
119
+ "displayName": "Threads URLs",
120
+ "name": "startUrls",
121
+ "description": "Any mix of profile URLs (threads.com/@name), post URLs (threads.com/@name/post/...) and search URLs (threads.com/search?q=...). A post URL returns the post and its top replies.",
122
+ "required": false,
123
+ "default": {},
124
+ "type": "fixedCollection",
125
+ "typeOptions": {
126
+ "multipleValues": true
127
+ },
128
+ "options": [
129
+ {
130
+ "name": "items",
131
+ "displayName": "items",
132
+ "values": [
133
+ {
134
+ "displayName": "item",
135
+ "name": "url",
136
+ "type": "string",
137
+ "default": ""
138
+ }
139
+ ]
140
+ }
141
+ ]
142
+ },
143
+ {
144
+ "displayName": "Max posts per source",
145
+ "name": "maxPostsPerSource",
146
+ "description": "How many posts to collect from each profile, keyword or post (replies).",
147
+ "required": false,
148
+ "default": 50,
149
+ "type": "number",
150
+ "typeOptions": {
151
+ "minValue": 1,
152
+ "maxValue": 10000
153
+ }
154
+ },
155
+ {
156
+ "displayName": "Search results",
157
+ "name": "searchSort",
158
+ "description": "Which search results to collect for keywords: Top, Recent, or both merged (more posts).",
159
+ "required": false,
160
+ "default": "both",
161
+ "type": "options",
162
+ "options": [
163
+ {
164
+ "name": "Top + Recent (most posts)",
165
+ "value": "both"
166
+ },
167
+ {
168
+ "name": "Top",
169
+ "value": "top"
170
+ },
171
+ {
172
+ "name": "Recent",
173
+ "value": "recent"
174
+ }
175
+ ]
176
+ },
177
+ {
178
+ "displayName": "Only posts newer than",
179
+ "name": "oldestPostDate",
180
+ "description": "Skip posts published before this date: an absolute date (2025-01-31) or a relative one (7 days, 3 months). For profiles the scraper stops as soon as it reaches older posts.",
181
+ "required": false,
182
+ "default": "",
183
+ "type": "string",
184
+ "placeholder": "YYYY-MM-DD"
185
+ },
186
+ {
187
+ "displayName": "Include profile info",
188
+ "name": "includeProfileInfo",
189
+ "description": "Add one row per profile with followers, bio, bio links, verified badge and profile picture. Charged per profile.",
190
+ "required": false,
191
+ "default": false,
192
+ "type": "boolean"
193
+ },
194
+ {
195
+ "displayName": "Include replies for post URLs",
196
+ "name": "includeReplies",
197
+ "description": "For post URLs, also collect the top replies that Threads shows logged-out visitors.",
198
+ "required": false,
199
+ "default": true,
200
+ "type": "boolean"
201
+ },
202
+ {
203
+ "displayName": "Proxy configuration",
204
+ "name": "proxyConfiguration",
205
+ "description": "Apify Proxy (on by default) spreads requests over many IPs, because Threads rate-limits single IPs quickly. Switch to the RESIDENTIAL group if many requests still fail.",
206
+ "required": false,
207
+ "default": "{\"useApifyProxy\":true}",
208
+ "placeholder": "{\"useApifyProxy\":true}",
209
+ "type": "json"
210
+ }
211
+ ];
212
+ exports.properties = [...exports.actorProperties, ...authenticationProperties];
213
+ //# sourceMappingURL=ApifyThreadsScraper.properties.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ApifyThreadsScraper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A8K;QAC7L,UAAU,EAAE,KAAK;QACjB,SAAS,EAAE,EAAE;QACb,MAAM,EAAE,QAAQ;QAChB,aAAa,EAAE,YAAY;KAC5B;IACD;QACE,aAAa,EAAE,sBAAsB;QACrC,MAAM,EAAE,oBAAoB;QAC5B,aAAa,EAAE,kHAAkH;QACjI,UAAU,EAAE,KAAK;QACjB,SAAS,EAAE,KAAK;QAChB,MAAM,EAAE,SAAS;KAClB;IACD;QACE,aAAa,EAAE,+BAA+B;QAC9C,MAAM,EAAE,gBAAgB;QACxB,aAAa,EAAE,qFAAqF;QACpG,UAAU,EAAE,KAAK;QACjB,SAAS,EAAE,IAAI;QACf,MAAM,EAAE,SAAS;KAClB;IACD;QACE,aAAa,EAAE,qBAAqB;QACpC,MAAM,EAAE,oBAAoB;QAC5B,aAAa,EAAE,0KAA0K;QACzL,UAAU,EAAE,KAAK;QACjB,SAAS,EAAE,0BAA0B;QACrC,aAAa,EAAE,0BAA0B;QACzC,MAAM,EAAE,MAAM;KACf;CACF,CAAC;AAEW,QAAA,UAAU,GAAsB,CAAC,GAAG,uBAAe,EAAE,GAAG,wBAAwB,CAAC,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { IExecuteFunctions, INodeExecutionData } from 'n8n-workflow';
2
+ export declare function runActorApi(this: IExecuteFunctions, actorId: string, input: Record<string, any>): Promise<any>;
3
+ export declare function runActor(this: IExecuteFunctions, i: number): Promise<INodeExecutionData[]>;