apify 3.0.0-beta.9 → 3.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 +8 -12
- package/actor.d.ts +136 -138
- package/actor.d.ts.map +1 -1
- package/actor.js +162 -164
- package/actor.js.map +1 -1
- package/configuration.d.ts +168 -0
- package/configuration.d.ts.map +1 -0
- package/configuration.js +184 -0
- package/configuration.js.map +1 -0
- package/index.d.ts +3 -0
- package/index.d.ts.map +1 -1
- package/index.js +6 -0
- package/index.js.map +1 -1
- package/index.mjs +4 -0
- package/key_value_store.d.ts +17 -0
- package/key_value_store.d.ts.map +1 -0
- package/key_value_store.js +26 -0
- package/key_value_store.js.map +1 -0
- package/package.json +22 -17
- package/platform_event_manager.d.ts +3 -0
- package/platform_event_manager.d.ts.map +1 -1
- package/platform_event_manager.js +11 -4
- package/platform_event_manager.js.map +1 -1
- package/proxy_configuration.d.ts +9 -6
- package/proxy_configuration.d.ts.map +1 -1
- package/proxy_configuration.js +13 -7
- package/proxy_configuration.js.map +1 -1
- package/tsconfig.build.tsbuildinfo +1 -1
- package/utils.js +1 -1
package/actor.js
CHANGED
|
@@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.EXIT_CODES = exports.Actor = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const ow_1 = tslib_1.__importDefault(require("ow"));
|
|
6
|
-
const promises_1 = require("node:timers/promises");
|
|
7
6
|
const consts_1 = require("@apify/consts");
|
|
7
|
+
const timeout_1 = require("@apify/timeout");
|
|
8
8
|
const log_1 = tslib_1.__importDefault(require("@apify/log"));
|
|
9
9
|
const apify_client_1 = require("apify-client");
|
|
10
10
|
const core_1 = require("@crawlee/core");
|
|
@@ -12,6 +12,8 @@ const utils_1 = require("@crawlee/utils");
|
|
|
12
12
|
const utils_2 = require("./utils");
|
|
13
13
|
const platform_event_manager_1 = require("./platform_event_manager");
|
|
14
14
|
const proxy_configuration_1 = require("./proxy_configuration");
|
|
15
|
+
const key_value_store_1 = require("./key_value_store");
|
|
16
|
+
const configuration_1 = require("./configuration");
|
|
15
17
|
/**
|
|
16
18
|
* `Apify` class serves as an alternative approach to the static helpers exported from the package. It allows to pass configuration
|
|
17
19
|
* that will be used on the instance methods. Environment variables will have precedence over this configuration.
|
|
@@ -49,14 +51,8 @@ class Actor {
|
|
|
49
51
|
writable: true,
|
|
50
52
|
value: void 0
|
|
51
53
|
});
|
|
52
|
-
Object.defineProperty(this, "storageManagers", {
|
|
53
|
-
enumerable: true,
|
|
54
|
-
configurable: true,
|
|
55
|
-
writable: true,
|
|
56
|
-
value: new Map()
|
|
57
|
-
});
|
|
58
54
|
// use default configuration object if nothing overridden (it fallbacks to env vars)
|
|
59
|
-
this.config = Object.keys(options).length === 0 ?
|
|
55
|
+
this.config = Object.keys(options).length === 0 ? configuration_1.Configuration.getGlobalConfig() : new configuration_1.Configuration(options);
|
|
60
56
|
this.apifyClient = this.newClient();
|
|
61
57
|
this.eventManager = new platform_event_manager_1.PlatformEventManager(this.config);
|
|
62
58
|
}
|
|
@@ -90,7 +86,7 @@ class Actor {
|
|
|
90
86
|
* The user function can be synchronous:
|
|
91
87
|
*
|
|
92
88
|
* ```javascript
|
|
93
|
-
* Actor.main(() => {
|
|
89
|
+
* await Actor.main(() => {
|
|
94
90
|
* // My synchronous function that returns immediately
|
|
95
91
|
* console.log('Hello world from actor!');
|
|
96
92
|
* });
|
|
@@ -98,9 +94,9 @@ class Actor {
|
|
|
98
94
|
*
|
|
99
95
|
* If the user function returns a promise, it is considered asynchronous:
|
|
100
96
|
* ```javascript
|
|
101
|
-
*
|
|
97
|
+
* import { gotScraping } from 'got-scraping';
|
|
102
98
|
*
|
|
103
|
-
* Actor.main(() => {
|
|
99
|
+
* await Actor.main(() => {
|
|
104
100
|
* // My asynchronous function that returns a promise
|
|
105
101
|
* return gotScraping('http://www.example.com').then((html) => {
|
|
106
102
|
* console.log(html);
|
|
@@ -111,9 +107,9 @@ class Actor {
|
|
|
111
107
|
* To simplify your code, you can take advantage of the `async`/`await` keywords:
|
|
112
108
|
*
|
|
113
109
|
* ```javascript
|
|
114
|
-
*
|
|
110
|
+
* import { gotScraping } from 'got-scraping';
|
|
115
111
|
*
|
|
116
|
-
* Actor.main(async () => {
|
|
112
|
+
* await Actor.main(async () => {
|
|
117
113
|
* // My asynchronous function
|
|
118
114
|
* const html = await request('http://www.example.com');
|
|
119
115
|
* console.log(html);
|
|
@@ -133,7 +129,7 @@ class Actor {
|
|
|
133
129
|
await this.init(options);
|
|
134
130
|
let ret;
|
|
135
131
|
try {
|
|
136
|
-
ret = await
|
|
132
|
+
ret = await userFunc();
|
|
137
133
|
await this.exit(options);
|
|
138
134
|
}
|
|
139
135
|
catch (err) {
|
|
@@ -149,19 +145,20 @@ class Actor {
|
|
|
149
145
|
async init(options = {}) {
|
|
150
146
|
(0, utils_2.logSystemInfo)();
|
|
151
147
|
(0, utils_2.printOutdatedSdkWarning)();
|
|
148
|
+
// reset global config instance to respect APIFY_ prefixed env vars
|
|
149
|
+
core_1.Configuration.globalConfig = configuration_1.Configuration.getGlobalConfig();
|
|
152
150
|
await this.eventManager.init();
|
|
153
151
|
if (this.isAtHome()) {
|
|
154
152
|
this.config.set('availableMemoryRatio', 1);
|
|
153
|
+
this.config.set('disableBrowserSandbox', true); // for browser launcher, adds `--no-sandbox` to args
|
|
155
154
|
this.config.useStorageClient(this.apifyClient);
|
|
156
155
|
this.config.useEventManager(this.eventManager);
|
|
157
156
|
}
|
|
158
157
|
else if (options.storage) {
|
|
159
158
|
this.config.useStorageClient(options.storage);
|
|
160
159
|
}
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
await this.config.getStorageClient().purge?.();
|
|
164
|
-
}
|
|
160
|
+
await (0, core_1.purgeDefaultStorages)(this.config);
|
|
161
|
+
configuration_1.Configuration.storage.enterWith(this.config);
|
|
165
162
|
}
|
|
166
163
|
/**
|
|
167
164
|
* @ignore
|
|
@@ -170,23 +167,25 @@ class Actor {
|
|
|
170
167
|
options = typeof messageOrOptions === 'string' ? { ...options, statusMessage: messageOrOptions } : { ...messageOrOptions, ...options };
|
|
171
168
|
options.exit ?? (options.exit = true);
|
|
172
169
|
options.exitCode ?? (options.exitCode = exports.EXIT_CODES.SUCCESS);
|
|
173
|
-
options.timeoutSecs ?? (options.timeoutSecs =
|
|
174
|
-
|
|
175
|
-
this.eventManager.emit("exit" /* EventType.EXIT */, options);
|
|
170
|
+
options.timeoutSecs ?? (options.timeoutSecs = 30);
|
|
171
|
+
// Close the event manager and emit the final PERSIST_STATE event
|
|
176
172
|
await this.eventManager.close();
|
|
173
|
+
// Emit the exit event
|
|
174
|
+
this.eventManager.emit("exit" /* EventType.EXIT */, options);
|
|
175
|
+
// Wait for all event listeners to be processed
|
|
176
|
+
log_1.default.debug(`Waiting for all event listeners to complete their execution (with ${options.timeoutSecs} seconds timeout)`);
|
|
177
|
+
await (0, timeout_1.addTimeoutToPromise)(() => this.eventManager.waitForAllListenersToComplete(), options.timeoutSecs * 1000, `Waiting for all event listeners to complete their execution timed out after ${options.timeoutSecs} seconds`);
|
|
177
178
|
if (options.exitCode > 0) {
|
|
179
|
+
options.statusMessage ?? (options.statusMessage = `Actor finished with an error (exit code ${options.exitCode})`);
|
|
178
180
|
log_1.default.error(options.statusMessage);
|
|
179
181
|
}
|
|
180
182
|
else {
|
|
183
|
+
options.statusMessage ?? (options.statusMessage = `Actor finished successfully (exit code ${options.exitCode})`);
|
|
181
184
|
log_1.default.info(options.statusMessage);
|
|
182
185
|
}
|
|
183
186
|
if (!options.exit) {
|
|
184
187
|
return;
|
|
185
188
|
}
|
|
186
|
-
if (options.timeoutSecs > 0) {
|
|
187
|
-
log_1.default.debug(`Waiting for ${options.timeoutSecs} before calling process.exit()`);
|
|
188
|
-
await (0, promises_1.setTimeout)(options.timeoutSecs * 1000);
|
|
189
|
-
}
|
|
190
189
|
process.exit(options.exitCode);
|
|
191
190
|
}
|
|
192
191
|
/**
|
|
@@ -234,7 +233,7 @@ class Actor {
|
|
|
234
233
|
* [Run actor](https://apify.com/docs/api/v2#/reference/actors/run-collection/run-actor)
|
|
235
234
|
* and several other API endpoints to obtain the output.
|
|
236
235
|
*
|
|
237
|
-
* @param
|
|
236
|
+
* @param actorId
|
|
238
237
|
* Allowed formats are `username/actor-name`, `userId/actor-name` or actor ID.
|
|
239
238
|
* @param [input]
|
|
240
239
|
* Input for the actor. If it is an object, it will be stringified to
|
|
@@ -243,10 +242,59 @@ class Actor {
|
|
|
243
242
|
* @param [options]
|
|
244
243
|
* @ignore
|
|
245
244
|
*/
|
|
246
|
-
async call(
|
|
245
|
+
async call(actorId, input, options = {}) {
|
|
246
|
+
const { token, ...rest } = options;
|
|
247
|
+
const client = token ? this.newClient({ token }) : this.apifyClient;
|
|
248
|
+
return client.actor(actorId).call(input, rest);
|
|
249
|
+
}
|
|
250
|
+
/**
|
|
251
|
+
* Runs an actor on the Apify platform using the current user account (determined by the `APIFY_TOKEN` environment variable),
|
|
252
|
+
* unlike `Actor.call`, this method just starts the run without waiting for finish.
|
|
253
|
+
*
|
|
254
|
+
* The result of the function is an {@link ActorRun} object that contains details about the actor run.
|
|
255
|
+
*
|
|
256
|
+
* For more information about actors, read the
|
|
257
|
+
* [documentation](https://docs.apify.com/actor).
|
|
258
|
+
*
|
|
259
|
+
* **Example usage:**
|
|
260
|
+
*
|
|
261
|
+
* ```javascript
|
|
262
|
+
* const run = await Actor.start('apify/hello-world', { myInput: 123 });
|
|
263
|
+
* ```
|
|
264
|
+
*
|
|
265
|
+
* @param actorId
|
|
266
|
+
* Allowed formats are `username/actor-name`, `userId/actor-name` or actor ID.
|
|
267
|
+
* @param [input]
|
|
268
|
+
* Input for the actor. If it is an object, it will be stringified to
|
|
269
|
+
* JSON and its content type set to `application/json; charset=utf-8`.
|
|
270
|
+
* Otherwise the `options.contentType` parameter must be provided.
|
|
271
|
+
* @param [options]
|
|
272
|
+
* @ignore
|
|
273
|
+
*/
|
|
274
|
+
async start(actorId, input, options = {}) {
|
|
275
|
+
const { token, ...rest } = options;
|
|
276
|
+
const client = token ? this.newClient({ token }) : this.apifyClient;
|
|
277
|
+
return client.actor(actorId).start(input, rest);
|
|
278
|
+
}
|
|
279
|
+
/**
|
|
280
|
+
* Aborts given actor run on the Apify platform using the current user account (determined by the `APIFY_TOKEN` environment variable).
|
|
281
|
+
*
|
|
282
|
+
* The result of the function is an {@link ActorRun} object that contains details about the actor run.
|
|
283
|
+
*
|
|
284
|
+
* For more information about actors, read the
|
|
285
|
+
* [documentation](https://docs.apify.com/actor).
|
|
286
|
+
*
|
|
287
|
+
* **Example usage:**
|
|
288
|
+
*
|
|
289
|
+
* ```javascript
|
|
290
|
+
* const run = await Actor.abort(runId);
|
|
291
|
+
* ```
|
|
292
|
+
* @ignore
|
|
293
|
+
*/
|
|
294
|
+
async abort(runId, options = {}) {
|
|
247
295
|
const { token, ...rest } = options;
|
|
248
296
|
const client = token ? this.newClient({ token }) : this.apifyClient;
|
|
249
|
-
return client.
|
|
297
|
+
return client.run(runId).abort(rest);
|
|
250
298
|
}
|
|
251
299
|
/**
|
|
252
300
|
* Runs an actor task on the Apify platform using the current user account (determined by the `APIFY_TOKEN` environment variable),
|
|
@@ -374,6 +422,22 @@ class Actor {
|
|
|
374
422
|
idempotencyKey,
|
|
375
423
|
});
|
|
376
424
|
}
|
|
425
|
+
/**
|
|
426
|
+
* Sets the status message for the current actor run.
|
|
427
|
+
*
|
|
428
|
+
* @param options
|
|
429
|
+
* @returns The return value is the Run object.
|
|
430
|
+
* For more information, see the [Actor Runs](https://docs.apify.com/api/v2#/reference/actor-runs/) API endpoints.
|
|
431
|
+
* @ignore
|
|
432
|
+
*/
|
|
433
|
+
async setStatusMessage(statusMessage) {
|
|
434
|
+
(0, ow_1.default)(statusMessage, ow_1.default.string);
|
|
435
|
+
const runId = this.config.get('actorRunId');
|
|
436
|
+
if (!runId) {
|
|
437
|
+
throw new Error(`Environment variable ${consts_1.ENV_VARS.ACTOR_RUN_ID} is not set!`);
|
|
438
|
+
}
|
|
439
|
+
return this.apifyClient.run(runId).update({ statusMessage });
|
|
440
|
+
}
|
|
377
441
|
/**
|
|
378
442
|
* Stores an object or an array of objects to the default {@link Dataset} of the current actor run.
|
|
379
443
|
*
|
|
@@ -543,64 +607,7 @@ class Actor {
|
|
|
543
607
|
(0, ow_1.default)(options, ow_1.default.object.exactShape({
|
|
544
608
|
forceCloud: ow_1.default.optional.boolean,
|
|
545
609
|
}));
|
|
546
|
-
return this._openStorage(
|
|
547
|
-
}
|
|
548
|
-
/**
|
|
549
|
-
* Opens a request list and returns a promise resolving to an instance
|
|
550
|
-
* of the {@link RequestList} class that is already initialized.
|
|
551
|
-
*
|
|
552
|
-
* {@link RequestList} represents a list of URLs to crawl, which is always stored in memory.
|
|
553
|
-
* To enable picking up where left off after a process restart, the request list sources
|
|
554
|
-
* are persisted to the key-value store at initialization of the list. Then, while crawling,
|
|
555
|
-
* a small state object is regularly persisted to keep track of the crawling status.
|
|
556
|
-
*
|
|
557
|
-
* For more details and code examples, see the {@link RequestList} class.
|
|
558
|
-
*
|
|
559
|
-
* **Example usage:**
|
|
560
|
-
*
|
|
561
|
-
* ```javascript
|
|
562
|
-
* const sources = [
|
|
563
|
-
* 'https://www.example.com',
|
|
564
|
-
* 'https://www.google.com',
|
|
565
|
-
* 'https://www.bing.com'
|
|
566
|
-
* ];
|
|
567
|
-
*
|
|
568
|
-
* const requestList = await RequestList.open('my-name', sources);
|
|
569
|
-
* ```
|
|
570
|
-
*
|
|
571
|
-
* @param listName
|
|
572
|
-
* Name of the request list to be opened. Setting a name enables the `RequestList`'s state to be persisted
|
|
573
|
-
* in the key-value store. This is useful in case of a restart or migration. Since `RequestList` is only
|
|
574
|
-
* stored in memory, a restart or migration wipes it clean. Setting a name will enable the `RequestList`'s
|
|
575
|
-
* state to survive those situations and continue where it left off.
|
|
576
|
-
*
|
|
577
|
-
* The name will be used as a prefix in key-value store, producing keys such as `NAME-REQUEST_LIST_STATE`
|
|
578
|
-
* and `NAME-REQUEST_LIST_SOURCES`.
|
|
579
|
-
*
|
|
580
|
-
* If `null`, the list will not be persisted and will only be stored in memory. Process restart
|
|
581
|
-
* will then cause the list to be crawled again from the beginning. We suggest always using a name.
|
|
582
|
-
* @param sources
|
|
583
|
-
* An array of sources of URLs for the {@link RequestList}. It can be either an array of strings,
|
|
584
|
-
* plain objects that define at least the `url` property, or an array of {@link Request} instances.
|
|
585
|
-
*
|
|
586
|
-
* **IMPORTANT:** The `sources` array will be consumed (left empty) after {@link RequestList} initializes.
|
|
587
|
-
* This is a measure to prevent memory leaks in situations when millions of sources are
|
|
588
|
-
* added.
|
|
589
|
-
*
|
|
590
|
-
* Additionally, the `requestsFromUrl` property may be used instead of `url`,
|
|
591
|
-
* which will instruct {@link RequestList} to download the source URLs from a given remote location.
|
|
592
|
-
* The URLs will be parsed from the received response. In this case you can limit the URLs
|
|
593
|
-
* using `regex` parameter containing regular expression pattern for URLs to be included.
|
|
594
|
-
*
|
|
595
|
-
* For details, see the {@link RequestListOptions.sources}
|
|
596
|
-
* @param [options]
|
|
597
|
-
* The {@link RequestList} options. Note that the `listName` parameter supersedes
|
|
598
|
-
* the {@link RequestListOptions.persistStateKey} and {@link RequestListOptions.persistRequestsKey}
|
|
599
|
-
* options and the `sources` parameter supersedes the {@link RequestListOptions.sources} option.
|
|
600
|
-
* @ignore
|
|
601
|
-
*/
|
|
602
|
-
async openRequestList(listName, sources, options = {}) {
|
|
603
|
-
return core_1.RequestList.open(listName, sources, options);
|
|
610
|
+
return this._openStorage(key_value_store_1.KeyValueStore, storeIdOrName, options);
|
|
604
611
|
}
|
|
605
612
|
/**
|
|
606
613
|
* Opens a request queue and returns a promise resolving to an instance
|
|
@@ -647,7 +654,7 @@ class Actor {
|
|
|
647
654
|
* const crawler = new CheerioCrawler({
|
|
648
655
|
* // ...
|
|
649
656
|
* proxyConfiguration,
|
|
650
|
-
*
|
|
657
|
+
* requestHandler({ proxyInfo }) {
|
|
651
658
|
* const usedProxyUrl = proxyInfo.url; // Getting the proxy URL
|
|
652
659
|
* }
|
|
653
660
|
* })
|
|
@@ -665,12 +672,13 @@ class Actor {
|
|
|
665
672
|
async createProxyConfiguration(proxyConfigurationOptions = {}) {
|
|
666
673
|
// Compatibility fix for Input UI where proxy: None returns { useApifyProxy: false }
|
|
667
674
|
// Without this, it would cause proxy to use the zero config / auto mode.
|
|
668
|
-
const
|
|
675
|
+
const { useApifyProxy, ...options } = proxyConfigurationOptions;
|
|
676
|
+
const dontUseApifyProxy = useApifyProxy === false;
|
|
669
677
|
const dontUseCustomProxies = !proxyConfigurationOptions.proxyUrls;
|
|
670
678
|
if (dontUseApifyProxy && dontUseCustomProxies) {
|
|
671
679
|
return undefined;
|
|
672
680
|
}
|
|
673
|
-
const proxyConfiguration = new proxy_configuration_1.ProxyConfiguration(
|
|
681
|
+
const proxyConfiguration = new proxy_configuration_1.ProxyConfiguration(options, this.config);
|
|
674
682
|
await proxyConfiguration.initialize();
|
|
675
683
|
return proxyConfiguration;
|
|
676
684
|
}
|
|
@@ -712,8 +720,8 @@ class Actor {
|
|
|
712
720
|
newClient(options = {}) {
|
|
713
721
|
const { storageDir, ...storageClientOptions } = this.config.get('storageClientOptions');
|
|
714
722
|
return new apify_client_1.ApifyClient({
|
|
715
|
-
baseUrl:
|
|
716
|
-
token:
|
|
723
|
+
baseUrl: this.config.get('apiBaseUrl'),
|
|
724
|
+
token: this.config.get('token'),
|
|
717
725
|
...storageClientOptions,
|
|
718
726
|
...options, // allow overriding the instance configuration
|
|
719
727
|
});
|
|
@@ -755,7 +763,7 @@ class Actor {
|
|
|
755
763
|
* The user function can be synchronous:
|
|
756
764
|
*
|
|
757
765
|
* ```javascript
|
|
758
|
-
* Actor.main(() => {
|
|
766
|
+
* await Actor.main(() => {
|
|
759
767
|
* // My synchronous function that returns immediately
|
|
760
768
|
* console.log('Hello world from actor!');
|
|
761
769
|
* });
|
|
@@ -763,9 +771,9 @@ class Actor {
|
|
|
763
771
|
*
|
|
764
772
|
* If the user function returns a promise, it is considered asynchronous:
|
|
765
773
|
* ```javascript
|
|
766
|
-
*
|
|
774
|
+
* import { gotScraping } from 'got-scraping';
|
|
767
775
|
*
|
|
768
|
-
* Actor.main(() => {
|
|
776
|
+
* await Actor.main(() => {
|
|
769
777
|
* // My asynchronous function that returns a promise
|
|
770
778
|
* return gotScraping('http://www.example.com').then((html) => {
|
|
771
779
|
* console.log(html);
|
|
@@ -776,9 +784,9 @@ class Actor {
|
|
|
776
784
|
* To simplify your code, you can take advantage of the `async`/`await` keywords:
|
|
777
785
|
*
|
|
778
786
|
* ```javascript
|
|
779
|
-
*
|
|
787
|
+
* import { gotScraping } from 'got-scraping';
|
|
780
788
|
*
|
|
781
|
-
* Actor.main(async () => {
|
|
789
|
+
* await Actor.main(async () => {
|
|
782
790
|
* // My asynchronous function
|
|
783
791
|
* const html = await gotScraping('http://www.example.com');
|
|
784
792
|
* console.log(html);
|
|
@@ -834,7 +842,7 @@ class Actor {
|
|
|
834
842
|
* [Run actor](https://apify.com/docs/api/v2#/reference/actors/run-collection/run-actor)
|
|
835
843
|
* and several other API endpoints to obtain the output.
|
|
836
844
|
*
|
|
837
|
-
* @param
|
|
845
|
+
* @param actorId
|
|
838
846
|
* Allowed formats are `username/actor-name`, `userId/actor-name` or actor ID.
|
|
839
847
|
* @param [input]
|
|
840
848
|
* Input for the actor. If it is an object, it will be stringified to
|
|
@@ -842,8 +850,8 @@ class Actor {
|
|
|
842
850
|
* Otherwise the `options.contentType` parameter must be provided.
|
|
843
851
|
* @param [options]
|
|
844
852
|
*/
|
|
845
|
-
static async call(
|
|
846
|
-
return Actor.getDefaultInstance().call(
|
|
853
|
+
static async call(actorId, input, options = {}) {
|
|
854
|
+
return Actor.getDefaultInstance().call(actorId, input, options);
|
|
847
855
|
}
|
|
848
856
|
/**
|
|
849
857
|
* Runs an actor task on the Apify platform using the current user account (determined by the `APIFY_TOKEN` environment variable),
|
|
@@ -883,6 +891,49 @@ class Actor {
|
|
|
883
891
|
static async callTask(taskId, input, options = {}) {
|
|
884
892
|
return Actor.getDefaultInstance().callTask(taskId, input, options);
|
|
885
893
|
}
|
|
894
|
+
/**
|
|
895
|
+
* Runs an actor on the Apify platform using the current user account (determined by the `APIFY_TOKEN` environment variable),
|
|
896
|
+
* unlike `Actor.call`, this method just starts the run without waiting for finish.
|
|
897
|
+
*
|
|
898
|
+
* The result of the function is an {@link ActorRun} object that contains details about the actor run.
|
|
899
|
+
*
|
|
900
|
+
* For more information about actors, read the
|
|
901
|
+
* [documentation](https://docs.apify.com/actor).
|
|
902
|
+
*
|
|
903
|
+
* **Example usage:**
|
|
904
|
+
*
|
|
905
|
+
* ```javascript
|
|
906
|
+
* const run = await Actor.start('apify/hello-world', { myInput: 123 });
|
|
907
|
+
* ```
|
|
908
|
+
*
|
|
909
|
+
* @param actorId
|
|
910
|
+
* Allowed formats are `username/actor-name`, `userId/actor-name` or actor ID.
|
|
911
|
+
* @param [input]
|
|
912
|
+
* Input for the actor. If it is an object, it will be stringified to
|
|
913
|
+
* JSON and its content type set to `application/json; charset=utf-8`.
|
|
914
|
+
* Otherwise the `options.contentType` parameter must be provided.
|
|
915
|
+
* @param [options]
|
|
916
|
+
*/
|
|
917
|
+
static async start(actorId, input, options = {}) {
|
|
918
|
+
return Actor.getDefaultInstance().start(actorId, input, options);
|
|
919
|
+
}
|
|
920
|
+
/**
|
|
921
|
+
* Aborts given actor run on the Apify platform using the current user account (determined by the `APIFY_TOKEN` environment variable).
|
|
922
|
+
*
|
|
923
|
+
* The result of the function is an {@link ActorRun} object that contains details about the actor run.
|
|
924
|
+
*
|
|
925
|
+
* For more information about actors, read the
|
|
926
|
+
* [documentation](https://docs.apify.com/actor).
|
|
927
|
+
*
|
|
928
|
+
* **Example usage:**
|
|
929
|
+
*
|
|
930
|
+
* ```javascript
|
|
931
|
+
* const run = await Actor.abort(runId);
|
|
932
|
+
* ```
|
|
933
|
+
*/
|
|
934
|
+
static async abort(runId, options = {}) {
|
|
935
|
+
return Actor.getDefaultInstance().abort(runId, options);
|
|
936
|
+
}
|
|
886
937
|
/**
|
|
887
938
|
* Transforms this actor run to an actor run of a given actor. The system stops the current container and starts
|
|
888
939
|
* the new container instead. All the default storages are preserved and the new input is stored under the `INPUT-METAMORPH-1` key
|
|
@@ -920,6 +971,16 @@ class Actor {
|
|
|
920
971
|
static async addWebhook(options) {
|
|
921
972
|
return Actor.getDefaultInstance().addWebhook(options);
|
|
922
973
|
}
|
|
974
|
+
/**
|
|
975
|
+
* Sets the status message for the current actor run.
|
|
976
|
+
*
|
|
977
|
+
* @param options
|
|
978
|
+
* @returns The return value is the Run object.
|
|
979
|
+
* For more information, see the [Actor Runs](https://docs.apify.com/api/v2#/reference/actor-runs/) API endpoints.
|
|
980
|
+
*/
|
|
981
|
+
static async setStatusMessage(statusMessage) {
|
|
982
|
+
return Actor.getDefaultInstance().setStatusMessage(statusMessage);
|
|
983
|
+
}
|
|
923
984
|
/**
|
|
924
985
|
* Stores an object or an array of objects to the default {@link Dataset} of the current actor run.
|
|
925
986
|
*
|
|
@@ -1073,62 +1134,6 @@ class Actor {
|
|
|
1073
1134
|
static async openKeyValueStore(storeIdOrName, options = {}) {
|
|
1074
1135
|
return Actor.getDefaultInstance().openKeyValueStore(storeIdOrName, options);
|
|
1075
1136
|
}
|
|
1076
|
-
/**
|
|
1077
|
-
* Opens a request list and returns a promise resolving to an instance
|
|
1078
|
-
* of the {@link RequestList} class that is already initialized.
|
|
1079
|
-
*
|
|
1080
|
-
* {@link RequestList} represents a list of URLs to crawl, which is always stored in memory.
|
|
1081
|
-
* To enable picking up where left off after a process restart, the request list sources
|
|
1082
|
-
* are persisted to the key-value store at initialization of the list. Then, while crawling,
|
|
1083
|
-
* a small state object is regularly persisted to keep track of the crawling status.
|
|
1084
|
-
*
|
|
1085
|
-
* For more details and code examples, see the {@link RequestList} class.
|
|
1086
|
-
*
|
|
1087
|
-
* **Example usage:**
|
|
1088
|
-
*
|
|
1089
|
-
* ```javascript
|
|
1090
|
-
* const sources = [
|
|
1091
|
-
* 'https://www.example.com',
|
|
1092
|
-
* 'https://www.google.com',
|
|
1093
|
-
* 'https://www.bing.com'
|
|
1094
|
-
* ];
|
|
1095
|
-
*
|
|
1096
|
-
* const requestList = await RequestList.open('my-name', sources);
|
|
1097
|
-
* ```
|
|
1098
|
-
*
|
|
1099
|
-
* @param listName
|
|
1100
|
-
* Name of the request list to be opened. Setting a name enables the `RequestList`'s state to be persisted
|
|
1101
|
-
* in the key-value store. This is useful in case of a restart or migration. Since `RequestList` is only
|
|
1102
|
-
* stored in memory, a restart or migration wipes it clean. Setting a name will enable the `RequestList`'s
|
|
1103
|
-
* state to survive those situations and continue where it left off.
|
|
1104
|
-
*
|
|
1105
|
-
* The name will be used as a prefix in key-value store, producing keys such as `NAME-REQUEST_LIST_STATE`
|
|
1106
|
-
* and `NAME-REQUEST_LIST_SOURCES`.
|
|
1107
|
-
*
|
|
1108
|
-
* If `null`, the list will not be persisted and will only be stored in memory. Process restart
|
|
1109
|
-
* will then cause the list to be crawled again from the beginning. We suggest always using a name.
|
|
1110
|
-
* @param sources
|
|
1111
|
-
* An array of sources of URLs for the {@link RequestList}. It can be either an array of strings,
|
|
1112
|
-
* plain objects that define at least the `url` property, or an array of {@link Request} instances.
|
|
1113
|
-
*
|
|
1114
|
-
* **IMPORTANT:** The `sources` array will be consumed (left empty) after {@link RequestList} initializes.
|
|
1115
|
-
* This is a measure to prevent memory leaks in situations when millions of sources are
|
|
1116
|
-
* added.
|
|
1117
|
-
*
|
|
1118
|
-
* Additionally, the `requestsFromUrl` property may be used instead of `url`,
|
|
1119
|
-
* which will instruct {@link RequestList} to download the source URLs from a given remote location.
|
|
1120
|
-
* The URLs will be parsed from the received response. In this case you can limit the URLs
|
|
1121
|
-
* using `regex` parameter containing regular expression pattern for URLs to be included.
|
|
1122
|
-
*
|
|
1123
|
-
* For details, see the {@link RequestListOptions.sources}
|
|
1124
|
-
* @param [options]
|
|
1125
|
-
* The {@link RequestList} options. Note that the `listName` parameter supersedes
|
|
1126
|
-
* the {@link RequestListOptions.persistStateKey} and {@link RequestListOptions.persistRequestsKey}
|
|
1127
|
-
* options and the `sources` parameter supersedes the {@link RequestListOptions.sources} option.
|
|
1128
|
-
*/
|
|
1129
|
-
static async openRequestList(listName, sources, options = {}) {
|
|
1130
|
-
return Actor.getDefaultInstance().openRequestList(listName, sources, options);
|
|
1131
|
-
}
|
|
1132
1137
|
/**
|
|
1133
1138
|
* Opens a request queue and returns a promise resolving to an instance
|
|
1134
1139
|
* of the {@link RequestQueue} class.
|
|
@@ -1169,7 +1174,7 @@ class Actor {
|
|
|
1169
1174
|
* const crawler = new CheerioCrawler({
|
|
1170
1175
|
* // ...
|
|
1171
1176
|
* proxyConfiguration,
|
|
1172
|
-
*
|
|
1177
|
+
* requestHandler({ proxyInfo }) {
|
|
1173
1178
|
* const usedProxyUrl = proxyInfo.url; // Getting the proxy URL
|
|
1174
1179
|
* }
|
|
1175
1180
|
* })
|
|
@@ -1227,14 +1232,7 @@ class Actor {
|
|
|
1227
1232
|
}
|
|
1228
1233
|
_openStorage(storageClass, id, options = {}) {
|
|
1229
1234
|
const client = options.forceCloud ? this.apifyClient : undefined;
|
|
1230
|
-
return
|
|
1231
|
-
}
|
|
1232
|
-
_getStorageManager(storageClass) {
|
|
1233
|
-
if (!this.storageManagers.has(storageClass)) {
|
|
1234
|
-
const manager = new core_1.StorageManager(storageClass, this.config);
|
|
1235
|
-
this.storageManagers.set(storageClass, manager);
|
|
1236
|
-
}
|
|
1237
|
-
return this.storageManagers.get(storageClass);
|
|
1235
|
+
return core_1.StorageManager.openStorage(storageClass, id, client, this.config);
|
|
1238
1236
|
}
|
|
1239
1237
|
}
|
|
1240
1238
|
exports.Actor = Actor;
|
package/actor.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actor.js","sourceRoot":"","sources":["../src/actor.ts"],"names":[],"mappings":";;;;A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